[1.5.x] Modified tutorial 3 to use RequestContext in place of Context.

Backport of df4a74d709 from master