Add date-only parsing.

This commit changes the Parser to check for date-only formatted strings instead of only
datetime formatted strings.
Merge pull request #1255 from influxdb/date-parsing

Add date-only parsing