Add config_variables

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Update return codes for flag submission

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
doc: Document config and flags

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>