optimized htmlEncode by using StringBuilder directly
added test for WebUtil.htmlEncode
added comments