add stats_logging class to replace formely built-in stats logging functionality in libtorrent. including the parsing script