Test index !== -1 and use splice instead of delete. Closes GH-36.
Add a regression test for incorrect added events. Closes GH-37.

This is a regression test for a bug I ran into where a matching
directory would be reported added when a non-matching file was created
along side it.  This only happens if the directory name doesn't occur in
$PWD.
Fix directory test.