Add two functions to the ignores lists
Allow files and directories to be ignored.

Fixes #1
Add ignored-paths to the example config and readme

See #1