Added .coveragerc and tweaked testrunner

We should now produce a .coverage file that we can upload to coveralls.io