Adding support for embedded object

This is an idea to work with embedded objects. (http://www.doctrine-project.org/jira/browse/DDC-2773)