fixed issue that caused compiler warning
backward compatibility with Python 2.7
Py_buffer is not available in Python versions before 2.6
Add a version of offset_vertices that takes a range
add copy_data_from version that takes a Python buffer object
missed a few PY_VERSION_HEX checks for buffer interface support