Add type check for string on $date

Support for various date formats from http://docs.mongodb.org/manual/reference/mongodb-extended-json