Reactivate the stats interface in teacheradmin...

...and adapt it to the new mongo collections with the stats.