change SyntaxError to ParseException to support solr 4.0.0
backport the param-parsing to solr 4.0.0
update version