backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT.
Renames functional extension module to _functools and adds a Python functools module so that utility functions like update_wrapper can be added easily.