Merge pull request #445 from bhariharan/unstable

Merge branch 'master' into unstable
First Stab at interfaces for fast user switching
XML layout file cleanup
Add implementation for UserAccountManager and UserAccount
Adding implementation to get current user
Adding community ID as a param for persistence path
Add logout implementation for current user
Add implementation for login to new user
Add implementation for sign out API
Some bug fixes for first time app install
Storage path bug fixes
Make passcode manager work with multiple accounts
Add implementation for switching to existing user
Add enhancements for logout support for backgrounded accounts
SmartStore bugfix
Bug fix - SID cookie should be set on host, not domain wide
Clean up formatting on Server Picker screen
Rewrite custom server URL implementation to support multiple custom endpoints
Fixing LoginServerManager tests
Adding org level, user level, and community level storage APIs