more array copyTo tests
String.hash now gives the same values as in Java
compact model refs
fix adding inherited methods
fix #433 for js