fix tests and ensure that request_context thread is set to nil. also update documentation to reflect new behavior (set request_context to RackRequest instead of a hash)