TestSuite: fixed Tester test.
examples: fixed and updated test example.
examples: make each example CMakeLists.txt self-contained.

Now each example can be taken out and it will just work.
examples: use std:: prefix where possible.
examples: minor code cleanup.
examples: use `override` keyword in PluginManager example.