Ignore artefacts of the script to download and configure tomcat.
Update script so that is works on Macs
Some safety and sanity changes for the setup script.