Add ability to convert IMAGETYP to IRAF standard

This includes the code changes, a test for the new code and an update of the documentation. Closes #37