core: change trie::find_mut to actually test the key for equality
Add heapmap for (hopefully) denser tracking of allocations.
test: remove refcount-inspecting test