Updated Sinatra integration

In fresh version of Sinatra, `Sinatra::Application.root` returns nil.
The commit replaces this with `settings.root`