Bring in downstream changes

* Improve the performance by adding a database index and tuning a few
  queries.
* Show current deploys on the release overview pages.