Fix unbalanced super class call.
Properly use constants.
Replace restartLoader() by Loader.onContentChanged().

Just restarting the loader won't force a data refresh.
Switch to SherlockProgressFragment.

Fixes calling invalidateOptionsMenu() on API 10.
Suppress errors for using
SherlockFragmentActivity.invalidateOptionsMenu().
Store theme setting in a format controlled by us.

R.style.* can change over time (dependant on build settings, used
libraries etc.), so we should rather not use it as a theme setting
lookup key and blindly trust it on reading from persistent storage.
Fix unused imports.
Allow opening, closing and merging pull requests.
Add refresh menu items for issue and pull request.
Improve pull request merge UX.

- Indicate merged/not merged state in merge menu item
- Don't duplicate merge commit message
Use onContentChanged instead of restartLoader.

Only the former makes sure the data is really reloaded.
Fix order of menu items.

Keep reopen and close items at consistent positions.
Fix ClassCastException for invalid payloads.
Reset page iterator on loader reset.
Allow closing and reopening own pull requests.
Use Github bindings with fixed iterator reset.
Fix !online handling.

Error view is set in the super class.
Fix unused import.
Correctly handle missing storage when downloading.
Don't rely on the repository being initialized for sharing.

The share menu item is accessible even while the repository is still
loading; so when accessing it before loading completed there will be a
NPE.
Hardcoding the path isn't a big problem anyway as we
- do this in a lot of places anyway (mainly in the activities where the
  actual objects are loaded in the fragments) and
- we need to rely on the exact path conventions for the browse filter
  anyway