We need a way to fully automatically setup a fresh kontact, synchronize it, and shut down again.
Requirements:
* Works on a completely fresh system
* Set akonadi mysql server (with support for external servers)
* Creates kolab resource
* starts akonadi and triggers a complete sync
* script blocks until complete sync is done (so it can be called in a loop for different users)
* python/bash/c++ is fine
* preferably without X11 session (headless)
* dbus needs to be started if not available
* script gets credentials as parameters