Small improvements to the usability of the pattern matching (for the PathHandler) and accompanying test cases

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