expose match groups
adds tests, docs for match groups
Merge pull request #4 from jonschlinkert/master

expose match groups