updated tddium script

I've made a few changes to @dmrschmidt script (more parentheses, less camel case, plus a fix to make it easier (possible?) to handle branches) and it is working now.  This is based on my circle_ci branch.  I can separate it out if necessary.