Code cleanup in various places

Removes old code that isn't used anymore, useless methods, comments, etc.
Fix #150 Gallery closing on orientation changes

The base class's onLogin method was never called in GalleryActivity
because GalleryActivity defined a method of the same signature that
overrides the base class's. That method was being called twice -- once
for the @Subscribe and once for the @Subscribe in the object listener in
BaseActivity.

Overriding BaseActivity's onLogin method and calling super fixes it.
Clean up Activity permissions

Assigning values to variables makes it much easier to read and reason
about.
GuideViewActivity: call super.onSaveInstanceState

You should _always_ call super.onSaveInstanceState. Otherwise Fragmetns
don't maintain state so you end up rebuilding a lot of UI elements.
GuideStepViewFragment was broken for savedInstanceState so that had to
be fixed for it to work.
Guide view: Fix restoring guide (tools|parts)
Fix Guide URL parsing error handling
Move ACTION_VIEW handling to separate function

This checks the current site and loads the guide if it is the same as
the requested URL. Still need to handle the other case.
Fix logout finishing Activities

The order needs to be changed so we can compare the previous userid to
the current one. Otherwise it will always be fine.
Guide view intent: Switch sites and load guide
BaseActivity: Save and restore current Site

This is crucial for Intent ACTION guide view because the current site
gets changed without removing all other Activities.
Guide view: Allow lowercase URLs to match filter
BaseActivity.onLogout: Comment permissions check
Search: Initial working commit

Search is working for both categories and guides, now on to cleanup.
Search: Add infinite scrolling to search list view
Search: Convert search fragment to extend from BaseListFragment and add touch state
Search: add recent searches suggestions
Search: add right spacing on search result count
Revert "Clean up Activity permissions"

This reverts commit 4dcd85068f649e2b91af241439d341d8040cb4f8.

Turns out it broke some stuff and didn't improve readability at all.
Merge branch 'master' into action-guide-view-fixes
Merge pull request #120 from iFixit/action-guide-view-fixes

Refactor Guide view intent filtering for Dozuki