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.
I'm not sure to follow you here :)