Survana OS X: Move config.json outside app folder; Add functions to create an environment that will survive app upgrades