Revived #265: [WIP] Mapping support for Embeddables (VOs).

I decided to merge #265 onto master in order to revive the branch. We're going to be in desperate need for something similar to this soon.

However, I'm getting a lot of errors by PHPUnit, so I clearly missed something. Can anyone tell me what needs to happen to get this stable again?