PluginManager: fix weird behavior and crash of test under MSVC.

The internal static vars weren't unique when linking to both
CorradePluginManager and CorradePluginManagerTestLib. Not sure if this
is MSVC-only issue, maybe it affected also MinGW.
Merge branch 'master' into compatibility