Port test_masher to use faitout if possible, otherwise defaults to sqlite
Port the functional tests to use faitout if possible, otherwise defaults to sqlite
If the status_code returned is not 200, raise an exception that we can fallback to sqlite
Create one session for all the tests and just clean the DB after each call
Only run the tests against faitout if there is a BUILD_ID environment variable

This environment variable is set by jenkins. So with this commit, the
tests are run against sqlite locally and against faitout in jenkins
Set sqlalchemy.url straight from the start
Document the use of BUILD_ID
Run test_masher against faitout only if running in jenkins
In fact there is no need to raise an exception at all
Merge pull request #68 from fedora-infra/faitout

Port the unit-tests to Faitout