Add SortableQueryTest

- `testDefaultSortedQueryResult`
- `testAscendingOrderedQueryResult`
- `testDescendingOrderedQueryResult`
- Throw exception for an invalid sortkey, order assignment
Merge pull request #497 from SemanticMediaWiki/test-sortable-query

Add SortableQueryTest