Revert "Changed endIndex in ofMesh:: setColorForIndices and ofMesh::getMeshForIndices to be last index and not total. Changed appropriate variables in of3dPrimitives to account for change in indices."

This reverts commit b4cfbed4694703ed9b57964094c456ac27cac15f.