Allow specifying config file by command line arg

Also stops using the template for running tests in favor of a dedicated
config file at tests/config.yaml which is currently a copy of the
template but may change later.

Change-Id: I8d3302cf5ef482407747c165c2fbfdad11b451b0