Add runner mode to write to local database

Add mode options to the run command to specify whether
the data should be sent over the network or written to
a local database file.

Fixes #11

Change-Id: I992d61cfec476937187c68f28d8889b5041ed19a
Signed-off-by: Doug Hellmann <doug.hellmann@gmail.com>