Factor out the setup() method in interactive
Also allow specifying a custom context dictionary in remote, which
will be used by the stats module to add helper methods.
Patch by: Sverre Rabbelier
from django.dispatch import Signal
request_started = Signal()
request_finished = Signal()
got_request_exception = Signal(providing_args=["request"])