Doctrine 2 - ORM

[GH-329] [DDC-1766] Initial implementation of hydration cache.