Removed unnecessary call to force_text in utils.html.clean_html.

Refs #21574
Removed unnecessary function-level import.
Fixed #21564 -- Use local request object when possible in generic views.

Thanks to trac user adepue for the report and original patch.
Fixed #17413 -- Serialization of form errors along with all metadata.
Removed duplicated `TimeField` in __all__.