Exta method for adding filters to the query
Refactoring: moved solr classes from viewer-admin to viewer-commons to make them reusable. Added extra dependencies to viewer-commons.