intermediate revision - misc. fixes in the launcher script: external dependency downloader, DEFAULT_MAIN_CLASS, clean build option, few syntax  fixes
intermediate revision - misc. fixes in the launcher script: external dependency downloader, DEFAULT_MAIN_CLASS, clean build option, few syntax  fixes

sergueik/SWET,sergueik/SWET,sergueik/SWET,sergueik/SWET