Fix response not changing with parallel requests

In this order the @env would not be changed by the "on complete"
callbacks, meaning that the response would not change after parallel
requests finish (e.g. JSON would not be parsed).

This would work

  def on_complete(env)
    env[:body].upcase!
  end

But this wouldn't

  def on_complete(env)
    env[:body] = env[:body].upcase
  end
Merge pull request #378 from janko-m/fix-parallel-parsing

Fix response not changing with parallel requests
Fix ActiveSupport::SafeBuffer#gsub bug 

.. in NestedParamsEncoder
Merge pull request #381 from alagu/master

Fix ActiveSupport::SafeBuffer#gsub bug
Lock rest-client to ~> 1.6.0 on Ruby 1.8.7
Update README with env usage in stubs
Don't require SimpleCov on Ruby 1.8
Merge pull request #388 from Nitrodist/update-readme-with-env-usage

Update README with env usage in stubs
Merge remote-tracking branch 'lostisland/master' into add_ciphers_to_net_http

* lostisland/master:
  Don't require SimpleCov on Ruby 1.8
  Update README with env usage in stubs
  Lock rest-client to ~> 1.6.0 on Ruby 1.8.7
  Fix ActiveSupport::SafeBuffer#gsub bug
  Fix response not changing with parallel requests