Harden repository passwords in the database.

Historically, passwords have been stored in plain text when directly
providing a repository not backed by a hosting service. Now, we store
this encrypted, like we do with any sensitive hosting service
information.

When upgrading the site, all passwords will be automatically migrated.

Reviewed at https://reviews.reviewboard.org/r/6400/
Release Review Board 2.0.9.
Merge branch 'release-2.0.x'
Dramatically improve dashboard query performance with relation columns.

The "Target People", "Target Groups", and "To Me" columns each added one query
per row. This change adds some smarts to the database accesses. The "To Me"
column now caches all of the directly-assigned review requests into a list
which is stored in the datagrid state. The target people and target groups
columns now do a prefetch_related() to have only one additional query for the
column, rather than one per row.

Testing done:
- Loaded the dashboard with all of these columns enabled. Before this change,
  for my particular set of review requests, it ran 29 queries in 25ms. After
  this change, the same dashboard ran with 11 queries in 12ms.
- Ran unit tests.

Reviewed at https://reviews.reviewboard.org/r/6490/
Merge branch 'release-2.0.x'