Remove python-gnupg dependency.
Remove unneeded exception import.
Add tests for events signaling.
Fix pep8 style.
Merge remote-tracking branch 'drebs/feature/2227-add-tests-for-events' into develop