Make RubyTime argument checking be same as mri.

This should fix https://github.com/jruby/jruby/issues/1501
Merge pull request #1515 from ratnikov/fix-ruby-time

Make JRuby's RubyTime argument checking be same as MRI
Merging with 1.7