Fixing a bunch of miscellaneous issues.

Includes fixes for:
* A FileIndex from a listing not including a DirInode for the root, '/'.
* MountableFileSystem not supporting file listings outside of mounted file systems.
* An edge case where 'resolve' didn't properly 'resolve'.
* process.chdir not properly changing directory.