Filesystem.test.php: Modified the unit testing with mocks.
Cache.class.php: Documentation and minor modifications.

Renamed the `mkdir` method to `makeDirectory` since it has been renamed
within the `Filesystem`-class. Also, added documentation to `import`.
Cache.test.php: Rewritten most of the test methods.