Specify json content type. Handle query errors
Raise a custom QueryError on either index missing or malformed query
Update tests to fit new error handling
Rename an error attribute
Merge pull request #32 from bengler/search-parse-error

Search parse error