Fixed issue created by upgrade to 1.8
Fixed issue created by upgrade to 1.8

RequestContext has changed in 1.8 to have the request as an attribute
rather than a dict item. This fixes the check and access to the
request.

[MAPDEV285]

ministryofjustice/manchester_traffic_offences_pleas,ministryofjustice/manchester_traffic_offences_pleas,ministryofjustice/manchester_traffic_offences_pleas,ministryofjustice/manchester_traffic_offences_pleas