Set Thread context class loader while Tomcat starts up

Fixes gh-1085