Add missing import for InconsistentTableError
Add missing coma
Remove orphaned code, dims is undefined
Add missing import for _unsigned_zero
pyfits -> fits
sip1db -> self.sip1db
Merge pull request #1292 from Xarthisius/undefs

Fix couple of "undefined name" errors