Use kpartx if partition device doesn't exist

If the loop partition isn't created as a device by the kernel, go ahead and use
kpartx to create the device.

Change-Id: I53290b7724d0cb45a1fc9225ec096025db8978dd
Extracting common functionality for rpm based distros

Rather than dublicating code to implement rhel or any
other derivitive, this patch introduces an rpm-distro
element that should be used as a dependency.

Change-Id: I8a92bb041764d03f430b438f0013704f79a8674c
Remove a device mapping, then let the loop device get removed

Change-Id: Ie1eb621ff56688208421d0115547f127a3c7fd56
Merge "Remove a device mapping, then let the loop device get removed"