Issue #15: Add Solr indexing support for variants
Added sort and pagination to SimpleSolrQuery. Refactored test code.
Issue #19: Create an abstraction layer for managing JPQL queries
First version of the interfaces needed.
Issue #19: Create an abstraction layer for managing JPQL queries
Added an abstract implementation of the Query interface.