Use py_XDECREF when possible; use copy-and-swap idiom; copy fields into XCDFFieldsByNameSelector for a major speed improvement