Split HashTable out into mutable and immutable kinds.

There are some inference problems making the marketplace tests fail. I'll need same help fixing that up.
I don't see how the error case could trigger. Shouldn't the contract catch this?