Add StringUtils.htmlEscape() back in.

Remove "types" from a tern query since types are not hinted for identifiers or properties.