Doctrine 2 - ORM

[GH-592] Added ability to specify INDEX BY when creating a QueryBuilder from a Repository