Refactor sync (and config)
In preparing for #29 (closed), I've refactored the large sync.py
to a subfolder of its parts.
Also, separated config.py
and made them only be definitions of the parts of the configuration, moving code that does stuff to the appropriate sync
file.
GAPI update function moved to gapiutils.py
.
Fixed authenticated LDAP.
It's a beasty but mostly moving of code and adding lots of self.(state|x_config).
as the previous sync.py
was relying on local variables created 100s of lines above.
Closes: #11 (closed)