Fix critical bug in freelist management

list_add_before(page, list) doesn't work when "list" is empty.
A bugcheck has been added to detect this happening in the future.
sup
Add bugcheck to page_to_idx()
Remove debug prints from dump_stack()
Add block/cache memory allocator