Restructure files
Add khash.h

Retrieved from https://github.com/attractivechaos/klib