Cache: port test cases to PHPUnit
Filesystem: move mount management to it's own class