Public setter for OAuthToken

Since OAuth tokens have a usual max lifetime of 1 hour, it needs to be
refreshed; therefore, have a public setter.
Fix for Parser with non-string attribute values

Non-string attribute values were not being set due to an invalid type
check (always returned true and therefore treated all as a string).