document the appconfig format
appconfig.py: use 'is None' instead of 'not ...'
use variables instead of strings for sections
add support for saving the config (fixes #9)