added date validation to param creator

Summary: validate Date types; also added some pretified error messages in the validation functions

Test Plan: use a date

Reviewers: dougli, SeanDunford

Differential Revision: http://phabricator.palinka.me/D1417