Add map_free

map_free should be able to quickly free the map created by map_create
Change stricmp to strcasecmp

My system doesn't have stricmp, using posix standard strcasecmp instead
Add check for running map_get on empty map

Prevents an error when you use map_get on a map which is empty
Add CMakeLists.txt for use in my build
Remove trailing spaces