Add unmounted function to the mount state.

Add the ability to unmount a directory from the filesystem.