Add smarter handling of ES errors
strip whitespace from queries
Merge pull request #3076 from dimagi/handle-es-error

Add smarter handling of ES errors