Fix deprecation warnings in RSpec 3, fully backwards compatible.
fix datetime/time test cases
Merge pull request #17 from ahmet/master

RSpec 3 compatibility