add in a search_dates end point

We do this so we can add in the correct handling of empty dates to the
elastic search query. people could do this themselves but this means
they don't need to worry about the exact syntax.

Fixes #63