Feature/restore custom error pages

Proposed fix for https://github.com/mysociety/alaveteli/issues/927