Remove unused imports and unused code
Use astropy.io.fits and registry to handle fits read/write
Move coverage information from .coveragerc to the astropy-standard location

That location is ccdproc/tests/coveragerc