Rewrite the webui minify js script in python

Also replaced minifier 'yui-compressor' with pure-python 'slimit'.
[WebUI] Fix missing ext-extension files in build