ENG-5065: do not reset SortDirection for IndexScan if it is INVALID; add test cases for ORDER-BY + prefix filters.
ENG-5065: fix broken junit tests.
Merge pull request #711 from VoltDB/ENG-5065

Eng 5065