Added support for a custom settings.xml.
improved settings.xml usage to include env vars for path and url locations
removed a tar flag that was only needed for testing
added a fallback to unset MAVEN_SETTINGS_OPT if none of the settings.xml conditions are met. also added a test
change a ! -z to a -n for clarity