Search end point improvements

Required for https://github.com/spiral-project/daybed.js/pull/28 to work 

* [x] Allow POST on search, because couldn't figure out how to set a body on a GET request with XMLHttpRequest
* [x] Prevent catching ES query syntax errors
Why importing elasticsearch here rather than at top level?