frontend functional tests -> frontend route tests

no issue

- Some of the tests were duplicated and all of these tests are faster and easier to do with super test as we aren't testing interactions
- Introduced a new test util to toggle permalinks which allows us to test the different structures
- Using cheerio in route tests to test the HTML / XML output is well formed
Merge pull request #4336 from ErisDS/reduce-tests

frontend functional tests -> frontend route tests