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"