Allow passing the read only and autoclear flag when attaching a backing
file. Allow to pass a raw fd instead of a Path when attaching. Add a fn
to set the direct IO flag.
It is now easier to read and follow making it a better example.
Attach now accepts a quite flag and by default prints out the loop device that was attached.
sizelimit is more inline with the offical losetup tool as well as the info struct passed to the kernel so we may as well keep this naming convension.
losetup has been updated to support sizelimit as well as the newer/renamed methods.