make urlmatch optionally filter based on request method
make method applicable to both funcs and methods
don't shadow import and remove new line
Merge pull request #20 from zcourts/master

Make urlmatch optionally filter based on request method