Fix INDEX.md, and add a Perl script to update it more conveniently

My main contribution, really, is the file ```update-index.perl``` which updates ```INDEX.md``` according to what is currently committed.