Fixed handling of coveragerc in DistMaster.
Added test for coveragerc handling.