losetup: add --raw and --noheadings

Signed-off-by: Karel Zak <kzak@redhat.com>
tests: add losetup tests

Signed-off-by: Karel Zak <kzak@redhat.com>