Functional Testing Infrastructure

Here we have code which runs the app with an embedded database, and starts up an in-process webserver ready to receive http calls for testing purpose.

Hope you enjoy! =]