BUG: fix np.maximum()/minimum() for object arrays with NaNs

remove the use of PyObject_Cmp() for Python 2 in favor of PyObject_RichCompareBool()
Merge branch 'master' of https://github.com/mamikony/numpy