Add a RequestContext.from_dict method

This adds a new methods allowing the creation of a RequestContext from a
dict, useful when passing it serialized.

Change-Id: Id66aba0c600896521a4a236e0a97859735419357
Merge "Add a RequestContext.from_dict method"