Move the AbstractEntityRepository to TmsRestBundle