Dynamic Factories for object from plugins created in qCC_db
Fixing and refactoring following Daniel's comments
changed name of getPluginFactory
Merge pull request #144 from luca-penasa/factories

Dynamic Factories for object from plugins created in qCC_db