Support astropy.io.fits

healpy works both with pyfits and astropy.io.fits,
if both are installed, it chooses astropy.

@lpsinger can you take a look and merge this if it looks fine?
can this be `except ImportError` so that it does not catch unrelated errors?