Merge pull request #669 from bhariharan/unstable

Merge from 'master' into unstable
Encrypting user account data on the filesystem
Merge pull request #671 from khawkins/user_account_encryption

Encrypting user account data on the filesystem
Merge remote-tracking branch 'origin/master' into unstable_merge
Merge pull request #674 from khawkins/unstable_merge

Mobile SDK: Merging master to unstable
Adjust how customData is stored.
Make the customData object have safer access
Merge pull request #675 from khawkins/misc_updates

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

Mobile SDK: Merging master to unstable
Mobile SDK 2.2.2 patch

- Removed a bunch of NSLog lines, in favor of debug-level logging
- Removed caching of responses from the identity service
- Fixed a bug where the authentication component was not getting user account updates
- Added support for retrieving a user's community URL, based on the community ID
- Added support for determining active and previous community ID
- Encrypting user account data on the filesystem
- Fixed a bug around case sensitivity in login host changes
- Added support for customizing SmartStore encryption key
- Cleaner support around custom data on user accounts
Merge pull request #677 from khawkins/222_patch

Mobile SDK 2.2.2 patch
Merge remote-tracking branch 'origin/master' into unstable_merge

Conflicts:
	shared/SalesforceSDKCore/SalesforceSDKCore/Classes/Common/SalesforceSDKConstants.h
Merge pull request #678 from khawkins/unstable_merge

Mobile SDK: Merging master to unstable
Adding Settings.bundle deployment, renaming npm build script
Merge pull request #680 from khawkins/build_updates

Adding Settings.bundle deployment, renaming npm build script
If they register for push notifications (using PushPlugin or some other ways), we want to give the Apple deviceToken to SFPushNotificationManager so that the sfdc registration takes place
Merge from upstream
Merge branch 'unstable' of github.com:forcedotcom/SalesforceMobileSDK-iOS into unstable
Reverting build_npm.xml; this will stay as a strictly npm build script