Made the Tomcat configuration test actually test the configuration.
JENKINS-12825: Now replaces env. vars. in more fields.
Fixed a backwards compatibility issue related to the custom manager context.
Merge pull request #1 from jgibson/JENKINS-12825

Jenkins 12825