Fixes and test logic for hashmap_keys

Now that the hashmap structure does everything I want, I can use it to
implement overwriting of options via Xresources config. I will address
earlier-mentioned CRC32 limitations in a later commit, as it doesn't
really affect performance that much given my requirements.