Turning 1000 lines of shell into a reusable test framework for IPFS

Turning 1000 lines of shell into a reusable test framework for IPFS