Merge pull request #162 from bhariharan/unstable

Test failure fix - using wrong method name
Minor performance improvements identified as part of an internal review

1) Moved some variables in the log function so that they are created
only when they will be used.  Also inlined them to reduce memory usage.
2) converted some mixed tabs and space to just spaces
3) changed line 164 to remove the  null part because it is redundant
with the default check.  Without the not null part it will return true
only if connType is not a blank string, not null, not undefined, not
false, and not 0.  This works across all browsers.
Merge pull request #164 from eperret/master

Minor performance improvements identified as part of an internal review
Merge from master
calling switchToUser() was not bringing up switcher screen because server would get [null] for args when expecting []
Adding button to switch user to account editor
Fix for switchToUser and new button in AccountEditor
Merge branch 'fixes' of https://github.com/forcedotcom/SalesforceMobileSDK-Shared into unstable
Fix (alreday in unstable23)
Adding logout button
fixing getMore callback on soql. using _.union to combine results
support cache mode in SObjectType operations
Merge pull request #173 from akhileshgupta/unstable

fixing getMore callback on soql. using _.union to combine results
adding test for cache mode on sobjecttype
Merge pull request #174 from akhileshgupta/unstable

Supporting cache mode for SObjectType.
fixing the progress tracker on sobjecttype. created that bug with last checkin.
fixing sobjecttype memory cache management
setting cachesynced default to true for sobjectype
Merge pull request #175 from akhileshgupta/unstable

fixing the progress tracker on sobjecttype. created that bug with last commit
Mobile SDK Version 2.2.0 Release