added 'method' to getRoute options
added unit test
Merge pull request #46 from ben-tsai/httpMethods

added 'method' to getRoute options