Add hash.h hash utility

This adds the `src/libreset/hash.h` file, which is a utility for dealing
with hashes.

It defines the `rs_hash` type as well as it contains functions for
dealing with objects of this type.

Simplifies #12 
Would use size_t.