Set IN_FORM_CONTEXT_VAR as part of extra_context.

Fixes #73.