Remove plugin manager and observer classes

We don't really need the observer pattern, so let's simplify the code.

Signed-off-by: Michal Čihař <michal@cihar.com>
Merge pull request #1252 from nijel/remove-observer

Remove plugin manager and observer classes