Minor improvements to idbc.core.db.

Tag: nicer qualified name.
ImageDatabase: add getTags()
Add StatisticsWriterPlugin.