Revert recent (unreleased) change in hash_value formula; make several tests use the average over 16 runs

git-svn-id: http://xdelta.googlecode.com/svn/trunk@407 a3eca27d-f21b-0410-9b4a-6511e771f64e