Add custom date validator

Allows matching dates formatted as YYYY-MM-DD, YYYY-MM, or just YYYY, as per https://github.com/jsonresume/resume-schema/issues/142.

Is this the right approach? Perhaps custom validators should be extracted into a separate module and unit-tested?