Keep historical userstats in a separate table

This avoids making an expensive query on the site index.