OmeroCpp: Split ObjectFactoryRegistrar and remove unneeded includes

Testing: there should be no functional changes.  OmeroCpp should build and the unit tests should pass/fail as before.