Fix WebUI gzip compression. Closes #1037.
Fix compilation with qt < 4.8.0. Closes #1043.
Sync translations from Transifex.
Update Changelog.
Bump to 3.1.2