Added support for using DateTime objects in cookies

As previously discussed: https://github.com/chriso/klein.php/pull/213#issuecomment-49532907
IDE compatibility is absolutely important, but not when you have to incorrectly document something.
As far as I'm concerned, its a bug with the dynamic linter in PhpStorm.