Change a number of MCField and MCParagraph methods to take StringRefs

Where possible, the functions were also adjusted to operate on StringRefs internally but a number have been left as operating on C strings where Unicode apparatus is already present and the change would be too disruptive.