[PIR-994] - Fixed encoding issue with Metadata domain save
Merge pull request #1462 from webdetails/PIR-994

[PIR-994] - Fixed encoding issue with Metadata domain save
[BISERVER-11385] RuntimeObjectFactory implemented, added to the AggregateObjectFactory in PentahoSystem. A shadowing API in PentahoSystem delegates to it. Many conveniences are added throughout the system enabling runtime registration.
[BISERVER-11385] Fixing Unit test