DNN-6077 HtmlUtils methods should accept null strings

Added check for null or empty strings to all methods (except StripEntities, as it marked obsolete). If null or empty string is passed, modified methods return it unchanged.