Updated deps and deprecated test cases

Updated dependencies and deprecated DatabaseTestCase and PhpcrTestCase
It makes no sense to have `require-dev` in the test bundle unless packages are required for testing the test bundle itself. The test bundle *is* a dev dependency.

Also, why do we depend on FOSRestBundle, FOSHttpCache?