952728 - fixing sync status reporting issue

if a sync task had been moved from the task
queue to the sync history queue, the structure
and status codes are different.  So let us
convert one to the other since we treat them the same
anyways.
Merge pull request #2341 from jlsherrill/pulp_sync

952728 - fixing sync status reporting issue