ide + class lib: Fix issue where doc title returns a Symbol not a String, and issues with non-escaped chars

This fixes Issue #1031, and related problems reported at the same time with non-escaped chars in doc sync

Signed-off-by: Scott Wilson <i@scottwilson.ca>