runtime: invert dependency with kernel main.

Inverts dependency between the Kernel and Runtime modules. The kernel_main now
injects the appropriate Allocator to the Runtime so that the Runtime does not
now about upper classes/mechanisms in Kernel.

Testing done: qemu -kernel out/kernel/Kernel/Kernel.bin
Check that no assertions failed.