Added the int + []byte primatives to types.

It should be easy to use this library with standard types. The hash
functions and so forth are always the same so I might as well include
them in this library. I may also make some support for generalized
hashable/sortable types. We will see.

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>