Enable coverage testing and publishing to coveralls.io
For Python 2, fix the paths to use the source files, otherwise coverage report is full of temporary file paths.