better dict iteration, make hash-for-each not copy the items

this speeds up hash2 by a factor of 2. the approach is to really expose
a very low level function that pokes around in the hashmap internals
using RPython magic.