Refactor numpy out of plot_issue_stats.py.

Some of the data structure handling is a bit clunkier, but we can avoid
dragging Numpy into the boat just for nicer array structures.
Also cleaned up the TODO list.