Remove outdated tests because we are switching to py.test.
File system rewrite.

This rewrites the file system module to use a file system class instead
of a global module-level file system, for reusability reasons and
avoiding global state.

For now, support for on-demand providers has been removed.