main: change config directory when running in debug mode
Look for the IMAGINARIO_DEBUG environment variable and, if this exists, change the configuration directory to a different one. This helps Imaginario developers operate on test data when running Imaginario from the console (if one exports the environment variable from one's own .bashrc) and on their ordinary data when running it from their desktop environment UI.