Issue #73: Add helper functions to PortalModel.
Issue #73: Add helper functions to PortalModel.

* Determine if a URL is from ArcGIS Online.

* Register OAuth-enabled Portal URLs.

Esri/arcgis-viewer-builder-flex