Begin unsquashfs module, port copy operation from Thus.

I suggest using namedtuples instead of dicts for such elements, they provide more safety in case of typos and are less verbose. See https://docs.python.org/3/library/collections.html?highlight=namedtuples#collections.namedtuple