Added ability to specify INDEX BY when creating a QueryBuilder from a Repository

This is a handy shortcut when using indexed results.