Conditionally load `wp-includes/date.php`

Add support for the new `WP_Date_Query` class, used internally by
`WP_Query`.

http://core.trac.wordpress.org/changeset/25139