Fixing a small bug, some typos and adding a chefignore file...

I found a little bug in the pattern logic, which is now fixed and described a little better. Also found and fixed 3 (very small) typos and added a chefignore file (mainly for the test directory).