Added date/datetime validation

Input must be in ISO 8601 format (YYYY-MM-DD and optional hh:mm:ss)
Merge pull request #19 from resno/master

Added date/datetime validation