BUG: Properly parse ufunc methods with PyUFunc_CheckOverride.
BUG: Fix and add ufunc override capabilities to ufunc methods.
TST: Add tests for ufunc.method overrides.
Merge pull request #4626 from cowlicks/ufunc-override-methods

Update ufunc override to work properly with ufunc methods.