Add an index to speed up getting all the releases for a distribution.

Gitpan does this.  A lot.