replace ProcessorFactory class with new Factory typedef
This pr follows !80 (merged) and use the new Factory
class.
ProcessorFactory
is then a simple typedef.
Add also a macro to ease processor registration & use it in ProcessorIMU
as an example.