No need to add config for x_sendfile_header

Rack::Sendfile is loaded by default now
Added CheckPending middleware in default

As this middleware comes by default in a new
rails app

Added test to check omit for CheckPending when

Active Record is not included.
Merge pull request #11448 from arunagw/updated_middleware_test

No need to add config for x_sendfile_header