Fix repository search behaviour.

- Only allow user repo search if 'all' is selected as we can't search
  through a user's watched or starred repos using the search API
- Suppress error returned by Github when attempting to search through a
  user's repos while the user doesn't actually have any repos.
Resubmit search when changing search type.