Delete more deprecated code

Deletes code deprecated in 0.5
(plus a couple of tiny things from 0.6, such as in `TestApplication`.

We really need to test `QA web-app: remove use of JBoss7Server` more - I suspect that code hasn't been run in quite a long time!