CircleCI: Add parallelism for tests

Also move stuff into circle.sh since it's more complicated now and hard to
express in yaml.