Integrated jklundell's NSDate support, and added unit tests for same