changes to the way path matching works

added trailing slash removal
added shared path normalizing (leading and trailing slashes)
added test cases for path matcher

these modifications should ensure that novice users of the embedded api don't run into problems with trailing slashes on the path handler