Fix issues with account/folder selector

* Spinner was only working for accounts, not folders
* Use getType instead of getItemViewType to determine the type
  of item tapped
* Return Folder rather than name  in onNavigationItemSelected

Remaining issues:

* The title of the conversation list isn't being set properly;
  this probably relates to issues I've seen in which there is
  NO title
* Inbox is being put into the recent list; this isn't right, and
  will be particularly confusing with multiple accounts

Change-Id: I1b11a7c6fd882d5219e3cc522de100e4abc83aad
2 files changed