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 here I see that the access and error log file is constant across the platform so it is good to default it here then later in the code. Also later in the code it is three times very error prone.