[FIXED JENKINS-5790] Expand tomcat context path with build variables

Hi, I believe this may fix JENKINS-5790. We used this issue during SP meetup Hackathon. Could you check please? 

Thanks!
Bruno