make write an instance method
add test for read/write roundtripping
Merge pull request #41 from keflavich/fits_writing

FITS writing from cube instance