Add Doctrine ORM serialization form type

Fix TypeTestCase to use deprecated version

Switch from entity manager to doctrine registry

Fix unit test
Merge pull request #49 from eko/serializationtype

Add Doctrine ORM serialization form type