Updated WireCubeMesh to new Mesh interface.

- addAttributeColor allows to add it colors.
- Fixed a bug in vertexCount (not 6 but 8).
- Updated all allocateX to addAttributeX in CubeMesh.