Fix hashcode, add unit test
Merge branch 'optimize-geometry' into h2-fork

Conflicts:
	h2/src/test/org/h2/test/db/TestSpatial.java