Fix #1130: Add RuntimeLong.hashCode().

It implements the spec of java.lang.Long.hashCode(), which is
*not* the same as x.## for a Long x.
Fix #1133: AtomicReference should compare with reference equality.

Fixed a few signatures in Atomic classes in the process.
Merge pull request #1136 from sjrd/simple-lib-fixes

Simple fixes in the library