Adding a statistics table to the database

Just a bunch of (key, value) pairs that will contain statistics
generated by a "make update" or similar command.
First part of the 'global' statistics gathering

I really need to find a good way of structuring this as a Python package