Insert middleware after ActionDispatch::RequestId

When using rails-api with api_only set to true, Rack::MethodOverride is not included in the middleware stack. ActionDispatch::RequestId follows Rack::MethodOverride in rails-api and the normal rails middleware stacks so inserting after that instead.