Add threshold and single_occurance filtering.
Merge pull request #8 from bboe/threshold

Add threshold and single_occurence filtering.