Add functions :cPyObject_HasAttrWithError, :cPyObject_HasAttrStringWithError, :cPyMapping_HasKeyWithError and :cPyMapping_HasKeyStringWithError.