Adding coveralls.io and fixing coverage generation