Comments and small fix for node cache
Hadded hash function
Added an explanation of the refcount node cache
Replaced the node cache with a refcount node cache, fingers crossed
Zero the cache struct after creation
Fix: removing the final item from the free list should set the list to NULL (setting it to the next item does not do anything if your free entry list is doubly linked)