Switch templates to Swig

Use Swig for templates, and Mustache as templating language
within posts.
Add separate gzipping to flow