rearrange HTML minify

the htmlminifier call is merged to js|css minifier for simplicity, we
introduce ```htmlminifier_config``` to wrap some options of
htmlminifier, this should offer more customisability to users. This
commit also work around the UTF8 issue as we do not need ```upfiles```
routine to get HTML minified.