Remove code duplication for Rack middleware

Airbrake::Rack and Airbrake::Rails::Middleware code is now DRY