Issue/1091 signout index out of bounds

Fix #1091 - fixed IndexOutOfBoundsException in WPActionBarActivity.onBlogChanged() by ensuring adapter isn't empty before calling mAdapter.getItem(0).selectItem(). Also added result code to PreferencesActivity to denote when user signed out from preferences.