Don't strip a dotted extension from the path unless it has a matching mimetype.
Always include ``pecan.request['extension']``.
Merge pull request #158 from ryanpetrello/next

Don't strip a dotted extension from the path unless it has a matching mimetype.