Comparable#== raises SystemStackError when calling classes don't impleme...

...nt #<=>

This is my first jruby contribution, it is intended to close #1111.

Any feedback would be much appreciated.