Made test.sh sh compatible (removed bashisms). Made test.sh not rely on mac-only tooling. Small documentation tweaks in readme and contributing doc.
Merge pull request #1353 from filmaj/sh-compat

Shell compatibility w/ test.sh