Refactor app. config. behavior to use third-party library

Using [node-config](https://githuhub.com/lorenwest/node-config).

Also update `.gitignore` so local configs. (**which will contain passwords, etc.**) are not included in repo.