PluginManager: removed ability to inject parent class to Manager.

Used a long time ago in Kompas. Too complicated.

The result is that *all* virtual calls are removed, the typesafe Manager
wrapper is now just a tiny inline class and lots of internal calls is
simplified. Also not having to explicitly BaseManager template parameter
everywhere is a huge bonus.
PluginManager: fix test compilation on Windows.

Gah...