Build: Replace HTMLMin with HTMLCompressor

Adds a Java dependency, but is currently more robust than HTMLMin.
Fixes gh-3382
Merge pull request #3384 from nschonni/v4-htmlcompressor

Build: Replace HTMLMin with HTMLCompressor