Rewrite database tests to use PHPUnit DbUnits
The database testing framework I implemented works, but not terribly well. Using PHPUnit's own facilities for this would almost certainly lead to more helpful failure output, just for a start.
However, we would first need a PDO driver for SQLite (see issue #72) assuming we want to continue largely testing from an in-memory database.
By now my purpose-built framework is, I suspect, actually better than DbUnit for our usage, so I'm closing this.
Deleting a branch is permanent. It CANNOT be undone. Continue?