Import from HNS - methods to archive attributed string

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/simplewebkit/trunk@38157 72102866-910b-0410-8b05-ffd578937521