1165355 - Sanitize checksum types.

SHA and SHA-1 are the same checksum algorithm, but Pulp considered them
to be separate algorithms. This commit ensures that Pulp no longer
stores the SHA-1 algorithm as "sha" in the database, and it also
contains a migration that resolves existing "sha" objects.

https://bugzilla.redhat.com/show_bug.cgi?id=1165355

Pay special attention to database references, since this PR has a migration that can remove or change units and repo_content_units.

This pull request uses a small change in platform:

    https://github.com/pulp/pulp/pull/1382
On 12/04/2014 02:51 PM, Chris Duryee wrote:
> Should the var for the entire collection be |errata| and the item being
> examined be the erratum?

I can never remember which one is plural. Do you know for sure that
"erratum" is singular and "errata" is plural? If so, I'll make it so. I
have no idea myself, but I thought I had it right.