Need to reset the buffers to NULL so we can use readline*() again

Otherwise would fail on second file
Alter hash_iterate to keep track of which hash in context

We no longer need to pass in hash_table each time, a pointer is kept in
the context structure
Fixes for bugs reading and in type
New comparison program
New key-fetching functionality