Unused functions

Apparently the new Clang version in Mac OS X 10.9.2's Xcode detects more unused functions than older versions. I had to define as `GT_UNUSED` or remove a bunch of previously undetected unused functions, mainly hashmap definitions and unused functions in Thomas' old compressed index code.