Improve tests with Silex\WebTestCase

A base TestCase extending Silex\WebTestCase is added which aids in
getting the correct application instance in the tests.