Use string values for ol.source.State enum

Many user-facing enums are string values and we document use of the string values rather than more confusing enum reference or the numeric values.
For the API docs to list the states, you need to mention them in prose. Something like "State of the source. Can be `loading`, `ready` or `error`.".