port @nickloman's getevents and readstats tools.
Merge branch 'master' of https://github.com/arq5x/poretools