fix for Util.arrayCompare()

failed comparisons where arrays contained values over 0x7f
fix this by up-casting to short and comparing, also add a small test
Merge pull request #32 from klali/array_compare_fix

fix for Util.arrayCompare()