New configurable heap, based on an Allocator trait and a core_heap_impl top-level module.

Not ready for merge, awaiting on #3, but feel free to review.