Work around the yum of times long past not having nevra
Add a generic problem summarizer.

This will summarize problems for everything that's not a dependency or a
disk space. It does this by giving up and making rpm do it.

Also add an abstract format_details to ProblemSummary to make it more
clear that the class can't be used on its own.

(cherry picked from commit 01e0419f8e60f9553a079685354db331c1688b2d)
Fix the dependency problem summary

Simplify the dependency problem summary to work with the data available
in RHEL 5-6 and swap the properties used because nothing means anything.
Replace subprocess backports with the versions from Python 2.7

This fixes some irregularities with call, check_call and check_output.
Use the output of losetup to find the loop file

The backing_file sysfs entry doesn't exist on RHEL 5-6, so parse some
command output instead.
Fix a misnamed variable in device_or_mnt

Missed one while switching from argparse to optparse.
fix UnboundLocalError with fedup --device

The Great Denaming accidentally made 'fedup.media' and a local variable
named 'media' collide. Rename the local variable to fix that.

(cherry picked from commit 2c723f7aab47b6b6cf21d12a7962f15f50174f07)