Update owning iterator when assigning to abc::text::_codepoint_proxy
Replace ad-hoc code with call to abc::mstr::replace()
Add test case for abc::mstr::replace()