Add optional config override parameter

This helps when you run the dashboard locally and want to overwrite DB
config.

Also, use argparse and don't use global folder variable.

Change-Id: I6ca8fd97c64df02c1336978f8c30346adb863e66
Merge "Add optional config override parameter"