Added test for case described in 688
Fixes #688.
Fix for fix #688 to work with Ruby 1.8
Handle the case of /:name.:format parsing /file.tar.gz
Adhere to sinatra style
Merge pull request #692 from floere/master

Fix for #688: Sinatra now correctly handles path patterns with dots in path segments.