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
Lets default the name of service here to apache2. Not sure why we have done later in the script. Any specific reason for doing later