Cleanup in Java port.
Mirrored checks in Java port which were added 1261a1fa9d4a8c6d4190522bd8677f1c6408cc64.
Relaxed test strictness.
Changed the syntax formatting of the conversion functions. Taking values out of arrays and putting them back in looks good in CoffeeScript, but in Java it just adds a lot of variables everywhere in the source.
Added some comments, which will hopefully help others.