1150714 - delete old distribution units when syncing

Distribution units have a unit key that contains the OS version, as read from
the treeinfo file.

When a new OS version comes out, a directory containing the most recent OS bits
will have a new treeinfo file with a different version and hence different unit
key. However, the old unit is not removed from the repo. This means there are
two distribution units for a single repo, which causes publish to fail.

This patch checks to see if the unit keys of any existing distributions are
different than those of the unit just saved. If so, the incorrect units are
removed, leaving only the latest correct unit.
Automatic commit of package [pulp-rpm] release [2.4.2-0.1.beta].
Merge remote-tracking branch 'origin/2.4-dev' into 2.5-testing
Merge remote-tracking branch 'origin/2.5-testing' into 2.5-dev
Merge remote-tracking branch 'origin/2.5-dev'