Marshal NSDate values so they can be used in predicates

I like the recent SDK change to allow NSDate fields, but when I changed my core data fields to NSDate, they stopped working in predicates. This fix causes NSDate values to be converted to NSNumber before being sent to the server in queries.