Extends Symfony's entity manager form type to handle Doctrine's resolved entities