EntityRepositoryGenerator customization support

related issue http://www.doctrine-project.org/jira/browse/DDC-3231 ( https://github.com/doctrine/doctrine2/pull/1089 )
//TODO