Refactor ParsedPath to allow for request format to be included.

Allows paths with trailing format to be defined (eg. /t/:id.json).