Rep 740

This is a lot of the "pre" work that needs to be done for the spring integration.

There's a few things that are stupid hard to remove now, `ServicePorts` and `ServletContextHelper` Those things should be removed eventually, and they'll be easier once we establish better replacements.
I don't know why. Maybe I was going to put reasoning in there as to why I deprecated it, and then found out that I cannot. Eventually this whole class should go away, should I fix, or meh?