MetricBase: Implement cmd-line args for setting http-pub and db-file.

Fixes #11.