Added __contains__ method to hdulist class so that something like 'a' in hdulist works correctly (when a is the name of an hdu in hdulist)