Attempts to parse date string from ES_ENDPOINT, validates, and uses if valid YYYY-MM-DD format.
Merge pull request #32 from enStratus/version_parse

Attempts to parse date string from ES_ENDPOINT instead of requiring ES_API_VERSION