[#839] Add basic documentation for stats extension

Very basic documentation for the stats extension (fixes #839). It doesn't do a lot, so if anyone has suggestions on what else I could add, I'm happy to write more.