Improved generation of Solr queries from XML by adding in a process for supplying extra parameters. Closes WS-38 again.