Every plugin gets passed a db in its constructor options now.

The start of a karma plugin to exercise the brain.