bugfix: magpis error reporting
added maximsize parameter and fixed magpis tests and error reporting
Merge pull request #227 from keflavich/magpis_errorreporting

MAGPIS returns invalid FITS data