Updated deploy.sh for app servers

I have updated the deploy.sh script so that it will work
with any app server such as tomcat.  This is to abstract
away implementation for more uniform deployments across
the org.