Cleaned up initrd_init() and finished initrd_read()

initrd_readdir() is implemented but untested.