Implementing generator/factory for lazy loading proxies
Merge pull request #168 from Ocramius/DCOM-96

[DCOM-96] ProxyFactory logic moved to doctrine common