Fixes rendering of customforms

As in 1c9d710, an override for render_to_response() for a class-based
view was needed.