Fixing two issues with concurrent invocations in the web environment.

1) We were accidentally resetting the JCL path without maintaining the invariant that classpath items always end in '/'.
2) We have been forgetting to reset static class state for... quite some time now. Whoops.

There's still another issue that I haven't figured out yet related to concurrent invocations that I'm still debugging.