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

See discussion in #688.