Update AjaxEntityType for symfony2.2 compatibility