Use the local implementation of PyErr_NewExceptionWithDoc on Python 3.1 as well.
Merge pull request #1275 from mdboom/wcs/python31-new-exception-with-doc

Units and WCS failures with Python 3.1