Merge pull request #660 from bhariharan/unstable

Merge branch 'master' into unstable
Fix community URL that is returned for the api
Fix API url access to rely on OAuth credentials, but add accessor method to retrieve the api URL for a community if the communities array is filled.
Added support for community URL in apiUrl command even if Credentials doesn't support it
Property to grab previous communityID information
Property comments
Backing out of identity data setting, as it was causing crashes
Better support for upgrade scenarios
Merge pull request #661 from khawkins/downstream_updates

Downstream updates
Merge remote-tracking branch 'origin/master' into unstable_merge
Merge pull request #662 from khawkins/unstable_merge

Mobile SDK: Merging master to unstable
Latest shared repo commit
Merge pull request #663 from bhariharan/master

Latest shared repo commit
Merge branch 'master' into unstable