Upgrade to tomcat8

The upgrade to tomcat 8 requires a small change when trying to get the class loader for the serializer. 

I can't request a merge back into a new tomcat 8 branch, but I imagine you would like to keep tomcat 7 and 8 separate for a while.