update fits header updating to non-deprecated syntax
Update import from future and improve py3 compat
Improved test coverage