Added tests for ANSIString, and fixed some bugs for it along the way.
Added tests for ANSIString, and fixed some bugs for it along the way.

ergodicbreak/evennia,mrkulk/text-world,feend78/evennia,shollen/evennia,jamesbeebop/evennia,ergodicbreak/evennia,titeuf87/evennia,jamesbeebop/evennia,mrkulk/text-world,feend78/evennia,titeuf87/evennia,ypwalter/evennia,feend78/evennia,titeuf87/evennia,jamesbeebop/evennia,ypwalter/evennia,mrkulk/text-world,emergebtc/evennia,shollen/evennia,mrkulk/text-world,TheTypoMaster/evennia,emergebtc/evennia,titeuf87/evennia,ypwalter/evennia,TheTypoMaster/evennia,TheTypoMaster/evennia,ergodicbreak/evennia,emergebtc/evennia,feend78/evennia