Schema validation: Improved data and time validation

The current regex expressions to validate date and times are too much liberal.
For eg., "2013-19-39T99:99:99Z" is allowed for "date-time" format.
The proposed patch validates formats "date-time", "date" and "time" according with IETF draft v3.