ENH: Improve app configuration

Prepping for the future when configuration can be set by env var. Setting `FLASK_CONFIG` between default,testing,production will switch between different configurations.

Add tests & Makefile `test` command.