kheap: Add more advanced heap implementation with kfree support