if supplied date is invalid eg 31-02-1999 then error message becomes "is invalid date"
refactoring, replaced OpenStruct with InvalidDate object
Merge pull request #131 from ministryofjustice/invalid_date_error

When supplied date invalid then error message becomes "is invalid date"