repository: added entity factory
Merge branch 'entity-factory' into develop
adapter: Mapping renamed to Mapper and its instance moved to Adapter::createAdapter()
QueryBuilder requires only EntityFactory
Merge branch 'adapter-mapper' into develop
repository: added createEntity() & createCollection() methods
adapter: options are optionable
adapter: abstract class replaced with interface
repository: added getters
repository: use local properties internally
repository: added findPrimaries()
repository: removed createEntity() & createCollection() - use entity factory instead