Print paths in main.c as debug info

This makes the main binary print the config,logfile and plugins paths
as debug info, so that it's easier to find out where they are pointing at.
Slight hashmap code style cleanups

Just clean up hashmap.c a bit; this makes one pointer argument const etc.
Fix oops in main.c