Merge pull request #121 from roryk/master

Added .gitignore.
Chunked annotating to make it faster.

This could use more speedups; it takes 10-15 hours or so for
adding a small file.