Respect includeOrderByClause in quicksearch

CRM-12326 Name search is not using indexes correctly
Merge pull request #510 from adamwight/respect_includeOrderByClause

Respect includeOrderByClause in quicksearch