Code cleanups, fixed bugs, logout...

- Upgrade to new version of Android Studio
- Add JSon parsing (copy-paste of Android API 11 lib and utility to convert to hash map)
- Add logout button
- Fixed many bugs
- Code cleanups