Added memory manager

Added the Zone-Malloc series of functions. This is a wrapper around
malloc that adds an id-specific header to each allocation, helping track
memory bugs.