minify templates

Hi there,

I'm trying to resolve issue #95 and I need your feedback. Is this sollution ok, or you expect something else? 
Run minify process only while in a release task maybe?