use PyObject_Malloc and PyObject_Free when allocating memory for c++ cla...

...ss instances to take advantage of the python object allocator for small objects