Updated Tomcat to 7.0.39

0.5 branch version of #681