Restored coveralls support

In the great race condition merge fiasco of 2014, we lost some commits from my original pull request (#98). Here they are, restored, in their original form.

Fixes #69