Make Sinatra compatible with Tilt 2
Drop a newline for Ruby 1.8 compatibility
Merge pull request #905 from yegortimoschenko/tilt-2-compat

Tilt 2 compat