Automatically create mount points for resources.

Currently working for directories, but failing for files.
All mounts now setting up correctly.
Unfortunately, mounts set up outside the container's fstab
don't actually work, so this all fails despite working as it
should.

Next rewrite will back out a lot of this and re-insert it into
the container configuration stage.

*sigh*