Replaced ClearVertices and RemoveVertices with SetNumVertices.

Simplifies API.
Also removed ReserveSpaceForMoreVertices as obsolete.
Changed warning in CheckValidity to reflect the comparison that is actually used.