encode send all controller responses using gzip

especially improves performance of larger json responses
fix translation of page name and filename of static pages
Merge remote-tracking branch 'github/3.7' into 3.7