Build branch

This branch:

* Fixes the tests (broken mainly by overagressive "refactoring" of the UnitTest component)
* Adds a build environment
* Adds vagrant VM configuration so that you can run the tests against several DBs easily

Running `phpunit` in the main dir still works as before. The build environment just provides additional means to run all verify steps, installing the required tools locally.