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
We log customer-token, username and subdomain as fields with each log sent to configsyslog account.