Refactor events so components become clients.
Trying to init events server raises when given port is not free.

* Also fix and improve some tests.
Add doc and tests about events sync/async behaviour.

* Also fix docstrings identation so sphynx doesn't complain.
Merge remote-tracking branch 'drebs/feature/3246-refactor-events-so-components-become-clients' into develop