upgraded tomcat7 images to use 14.04; optimized dockerfiles for size