[NXCM-5498] Html encode of displayed error message

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Merge remote-tracking branch 'origin/master' into nexus-5790-new-content-impl