Rename "kvstore" config settings to "db".

A brief follow-up to #384 - the config item "kvstore" is so-named for hysterical raisins, but no longer has anything to do with a kvstore.  Let's rename it just "db" since we're changing config keys anyway.  @dannycoates r?