Change middleware insertion strategy

Without ActionDispatch::Static present, there is no fallback for unsupported Mime types in Rack::Zippy. As a result those files cannot be served from `public/assets`.

Recommend using `insert_before` instead of `swap` to preserve ActionDispatch::Static.