Adding quick check for view state consistency to TodoItemListActivity.

This ensures that no two fragments are visible at the same time if they aren't supposed to be.
Cleaning up random code.
Adding context menus and fixing back button handling.

Now use the onBackStackChanged() event to detect when the views are changing and change access to context menus.

Closes #1