global: extension initialization improvements

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: pre-release improvements

* Improves single page documentation.

* Makes docstring according to PEP257 standard.

* Adds support for tox and pytest.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>