std stream file descriptors

init process now mounts /dev and uses /dev/ttyS0 for std stream file
descriptors.

This commit fixes various bugs regarding uart and vfs handling.

This commit also adds on demand file descriptor array reallocation for
processes.