Add heaplayer that inserts mappings in page table.

This change adds a heap layer and modifies the main application heap to
use it.

The new heap layer records mappings to memory (added by calls to
malloc/mmap from the source heap) into the page table backed by sqlite.