clean up some typos, including 'maxPetternLength' => 'maxPatternLength' in defaultOptions
Merge pull request #19 from stevenosloan/master

fix typo in defaultOptions 'maxPetternLength' => 'maxPatternLength'