Lots of refactoring

* Mapper has been separated into ProxyFactory, ClassMetadataFactory and Hydrator
* ClassMetadata is populated from the outside
* Manager now takes a Configuration object
* Dependencies moving toward singletons to avoid initating duplicates
functional proxies

* Proxies are now properly populated with db data
* Added reference support to lazily load entities
removed unused constant
fixed invalid annotation
Improved proxies, refactored collections

* Proxies can now be created by only providing an RID, based on clusters in the db
* Collections are now simple ArrayCollections consisting of lazy proxies
* Associations don't need any magic to initate, they simply return the collections of lazy proxies
* UnitOfWork keeps track of proxies
* Fixed many tests
renamed test method to avoid the warning
fixed php5.3 compatibility
Added more tests, implemented __clone for proxies

* BindingInterface now has getDatabase and getDatabaseName to satisfy ClusterMap
* Proxies support __clone
* ClusterMap uses databasename in cache key for proper identification
* Removed some unused classes
Merge pull request #184 from mitom/feature_proxyFactory

ProxyFactory implementation