allow for a custom exclude logic

this is just an example implementation for discussion, readme and docs are still missing.
add some minor docs for filtering
Merge pull request #148 from andrew/custom_exclude_logic

Custom exclude logic