Fix public urls

Upgrading to Plek 1.0 broke the generation of web URLs and had serious knock-on effects. **That means the content API currently can't be deployed.**

This branch fixes that by relying on the GOVUK_WEBSITE_ROOT environment variable for URL generation. It also tidies up some of the methods used around that.