modified how the stats are saved

stats stores the last 10 queries from each subreddit, as well as the
number of times that subreddit has called for wikibot.