V3 triangles command

This pull request add Triangles command to support rendering of triangles.
quad command now is a subclass of trianglesCommand