Validate date in form API
Raise ESError when bad query given
Remove None checks for run_query
Add DateTimeError
Check optional time parameter
Merge pull request #4000 from dimagi/es_bad_url

Es bad url