Issue #24: moved compiled polygon structure from PolygonProgram to PolygonMesh

Created CompiledTriangleSet data structure to represent both triangle strips and triangle fans.