Adding a deploy hook to restart tomcat after deploy

It looks like the tomcat print server has always troubles after deploy.