Add max matches option
Merge pull request #4 from jdolieslager/enhancement/maxMatches

Add maxMatches setting