split out repo cloning tools from pull-all, reuse for new build process
Move all looping into shared repo_conf

- Due to lack of hash maps on Mac OS X bash (too old), looping has to use two arrays and indexing