Implemented AtomicXXX and YYYReferences in javalib, including tests
Merge pull request #170 from lihaoyi/patch-2

Implemented AtomicXXX and YYYReferences in javalib, including tests