Handle backslashes, newlines and double quotes when displaying strings.

String docs have also been updated to cover this syntax.