Implement

This PR implements most hashtable functions.

Please review.
The `rs_ht_hash` type represents a size in here. I think this is somewhat inconsistent, but it is the simplest approach for it...