Functional tests

This pull requests introduces a testing framework for functional tests
of the filesystem together with some simple tests. The framework
allows users to create tests (in Bash) which setup the whole installation
consisting of many chunkservers and do some checks using it.

There are two commits which change the filesystem to make the tests run faster.
The third commit introduces the tests.