Connector export: add connector retrieval and output infrastructure

This commit adds the retrieval of many or single connectors (if a sample is
wanted), the creation of an output folder with a random name and based on this a
tar.gz file. Nothing is added to the output folder/tar file, yet.