MDL-31036 mod_assign: Preserve input and format for quickgrading feedback

Checking if there are tags or special characters and
rendering a div contenteditable box instead.