EntityRepositoryGenerator default repository

1) I set default repository class in configuration to MyApp\Doctrine\DefaultRepository
2) I created entity class MyApp\Entity\TestEntity and generated repository class for it
3) Actually the repository class "MyApp\Entity\TestEntityRepository" turned out to be a descendant of "Doctrine\ORM\EntityRepository" when I expected "MyApp\Doctrine\DefaultRepository" as default.

Related pull https://github.com/doctrine/DoctrineBundle/pull/315
@v3labs we are very defensive about inheritance, and even disallow it in many cases.

Unless there is an explicit (already existing) use-case for the field to be `protected`, all should be declared as `private`. Same goes for new methods.