Update rspec and other gems

Eliminate rspec deprecation warnings.
Looks like I introduced it in 2085f03cf41a242cbbe51ddf0fbeadf32cb6bb86.

Other rack middlewares mutate the environment instead of copying it, and they depend on getting the mutated values back in the response. I think a unit spec for that middleware would probably be better.