Adopted changeset O2, defining character restrictions

This is item 3 from the google doc
This item was already agreed to adopt.

This adds character restrictions to several strings in the API.

Note that this is only changeset O2. 
Changeset O1 is also agreed to adopt, and will be added along with adding the identifiers section.