Bug fix and counters for static error pages
This solves a major bug in the error pages module (wrong content length).
While we're at it, and as a follow-up to !167 (merged), this change adds prometheus counters for how often the error page module does something.
Closes #134 (closed)
Edited by Jacob Vosmaer