Core: fix DeepaMehta plugin detection (#498).

Plugin detection (is a particular OSGi bundle a DM plugin?) is based on inspecting the class hierarchy of the bundle's activator class.

Web application plugins (derived from WebActivatorPlugin) are detected properly.

Close #498.