(1) Change how LDouble computes hashCode to match standard Lua. (2) Change how toJavaString deals with NaN, infinity, and -0. (3) Move 0 * -2 case to end of mathlib test case so that problematic tests are towards the end.
math library test case. Also, character encoding of LuaCompat was changed from something that Eclipse was not handling well to UTF-8.