Added tar/untar and tests

Add TarFiles and UntarFiles functions which provide the ability
to tar/untar files with optional gz compression.