Make <=> methods return nil if passed a non-comparable argument.

Resolves test case failures on ruby 2.2.0dev (2014-01-11 trunk 44561)
due to Comparable#== no longer catching exceptions
(https://bugs.ruby-lang.org/issues/7688).