libfoundation: Add accessors to add codepoints into strings.
Merge pull request #1391 from peter-b/misc-unicodestring

libfoundation: Add accessors to add codepoints into strings.