add list-stats function and test
Merge branch 'master' of https://github.com/arvidn/libtorrent-webui