Adding support for a custom gzip command when compressing assets

An updated, rebased and squashed version of #137 :-)

Let me know if there's anything that you'd like changed or added, it's no stress :-)