Add ability to specify a custom ignore function, instead of just patterns.
Merge pull request #16 from ludovicchabant/custom_ignore_func

Add ability to specify a custom ignore function, instead of just patterns