Add utility to record commit information in archives/tarballs.
Add utility to record commit information in archives/tarballs.

Thanks to Matthew Brett for the contribution (taken from nibabel).

Also, minor cleanups and updates for 2.6/3.x.

ipython/ipython,ipython/ipython