WIP: Another implementation of of PyUFunc_CheckOverride.

This avoids unnecessary function calls.
WIP: Adding ufunc override tests.