More cleanup, add util.h and util.c to libcore (currently contains mem_dump and return_to_loader).
More cleanup, add util.h and util.c to libcore (currently contains mem_dump and return_to_loader).