[.gitignore] add a test directory
[python/cli] support using a different apps root and/or config directory