Add a context-aware drop-in replacement for wrap-resource [IMMUTANT-196]

When Ring 1.2 is released, remove the function and replace
"immutant.web" with "ring.middleware.resource" in the integration
test.