Ignore vim swap files
Add test-time dependencies to setup.py
phlawg.MetricLogger class for metrics through logs

Get a logging.Logger object, and wrap it inside a MetricLogger.

Use the normal logging methods on the MetricLogger, but without
a log message and instead using keyword parameters to indicate
metrics.

They'll get emitted through the logging object in a sensible
manner.