Doctrine ORM

This includes integration of Doctrine ORM.  This commit is biased.  See discussion in #9 

This commit includes #12 and should be merged after that PR.