Raise NotImplementedError on unavailable functionality

This replaces all instances of AttributeError with NotImplementedError except for [this one](https://github.com/pythongssapi/python-gssapi/blob/staging/gssapi/_utils.py#L62-64) (which is an unrelated error).