Added support to check Loggly port reachabilty

Also modified script to Log and Exit if any of the Loggly server is not
accessible.
Support for Tomcat downloaded as a package