Always clear thread context class loader for plugins

The default context class loader for the main thread is the application
class loader, which is never correct for plugins. Ideally, plugins should
be loading code relative to their own classes rather than relying on the
context class loader, but many libraries prefer the context class loader.