Verify if a loopback device has already been allocated or not.
Relocated functionality to determine if loopback device exists into the ArchiveR3.py library.
Moved most of the loopback functionality out into the common library.