Port the unit-tests to Faitout

This way the tests are running against faitout if possible, otherwise it defaults to the current behavior against sqlite.