Move *Text APIs into libxkbcommon These seem like they might be generally useful, and more will be needed from xkbfile.