Fix deprecation warning.
Fix loading images from private repos in commit view.

Also clean up a little.
Update to new bindings which use repo search V3 API.

Allows us to do the repo list search on the fly.