refactored template mixin to have a smarter test for gzipping, and to share a global default list of gzippable content types with the build command. fixes #50. cc @emamd