Added customer token to Linux script

Also modified Tomcat script to validate the tomcat installation before moving forward to configure machine to send logs to Loggly
@mchaudhary The files for Ubuntu are access.log and error.log while in case of RedHat and CentOS, name changes to access_log and error_log. What value should we set as default?