added an 'entryType' option that

- allows to choose if data events on the stream should be sent for 'files' (default), 'directories' or 'both'
minor stylistic fixes
1.1.0 adds entryType option 'files', 'directories', 'both'