Add the HandlerFactory interface to avoid the ClassCastException when proxying factories (Issue Felix-552) As a consequence, the archi command now target this kind of factory. Some tests have been updated to reflect this change.