Build System & core/heap: add method to disable heap allocator
The heap allocator was found to be hiding a use-after-free error
in an unrelated program (not Atheme IRC Services).
Add a configure option to make mowgli.heap just wrap around
mowgli.alloc directly. This allows hardened memory allocators to
be plugged into the latter, which affect all individual object
allocations made by the former.
The disabled implementation also features more debug logging.