Item12474: Add UglifyJS to BuildContrib as preferred

git-svn-id: http://svn.foswiki.org/branches/Release01x01/BuildContrib@16950 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item12474:  yuglify has issues

Need to use uglify and cssmin directly.  The yui wrapper can't override
the output filename.

git-svn-id: http://svn.foswiki.org/branches/Release01x01/BuildContrib@16952 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item12614: fixed uglifyjs integration

* properly testing for a working uglifyjs
* default to ASCII to encode js files 



git-svn-id: http://svn.foswiki.org/branches/Release01x01/BuildContrib@16973 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item12614: Resolve issue with use strict

And also move --ascii to end of uglify command

git-svn-id: http://svn.foswiki.org/branches/Release01x01/BuildContrib@16975 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item12614:  Make Uglifyjs 2.x work

Note, this is not compatible with uglify 1.x versions.

git-svn-id: http://svn.foswiki.org/branches/Release01x01/BuildContrib@16978 0b4bb1d4-4e5a-0410-9cc4-b2b747904278