Added support for custom query and search result format
Fixed format issue
Merge pull request #25 from nilsga/master

Allow for configurable name of query request parameter and custom response format.