Fixed #1105 -- Add hook for custom context in `BrowsableAPIRenderer`.

Replace hard coded response status check with `allow_form` context
variable, so that it can be overridden in a custom renderer class.