Enhanced destroy method to null fields.

Avoids a class loader leak: the MainServlet holds a reference to the WebAppClassloader and creates a leak on stop/undeploy.
Nulling it makes it available to the GC.