[[ CopyOnWriteStringRef ]] Make sure all indirect strings are resolved before direct char access
Merge branch 'refactor-syntax_unicode' into refactor-syntax_unicode_text_stream

Conflicts:
	libfoundation/src/foundation-string.cpp