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
same as above comment