move CCPointArray to CCGeometry, simplify API