TestClient::RackTest.to_env_headers should return empty hash for empty hash

Previous version was returning nil, while caller expected hash to be returned.

While working on this PR I noticed that bbq's test suite has problem with Rails 4.0 - because dummy test app was using deprecated features.