Initial support for .gitignore patterns that start with a slash.

This should fix #127. I haven't tested it very much, so it's not ready to merge.