Minor gradle tweaks and change usage for application plugin.
Run distZip to get a zip in build or installApp to get a folder setup in build. Libs are in dir/lib and start scripts are in dir/bin