Handle sinatra errors

When using sinatra airbrake is not cathing errors.

I tried this, but no success: https://github.com/airbrake/airbrake/wiki/Using-Airbrake-in-Sinatra-apps

So I added the variable sinatra.error to Rack middleware