Replaced the filter function with multimatch. Removed the mapPath option. Added some tests. Fixes #4.
Merge pull request #5 from christophercliff/cli-compatible-matching

Replaced the filter function with multimatch. Removed the mapPath option...