Refactor ParsedPath to allow for request format to be included.

Allows paths with trailing format to be defined (eg. /t/:id.json).
Merge pull request #2 from AbleTech/master

Refactor ParsedPath to allow for request format to be included.