Add caching to topcontributors.php
Clean up userstats, split graph making code