Updated header generator and cv2.cpp for Python 3.
The new generator will create code for an extension
module compatible with both Python 2.x and Python 3.x.
Updated usage of METH_X definitions for python 3.
Python 3 requires METH_VARARGS | METH_KEYWORDS, not just METH_KEYWORDS.