Github stats for release notes

Release tool for generating change notes. Copied from IPython.