Add support for validating DateTime input

Form::expectDateTime() will parse a named input parameter as a DateTime
object using the given input format. Form::get() for that input will
return a DateTime object or null if validation fails.

Change-Id: I3976849b7a81ebb1bc3eae66bb92f0e4f02a3308