Adapted CubeMesh to the new Mesh format.

- Added allocate* (Normal, TexCoords, Colors, etc.) methods to manually
add vertex attributes with the correct contents.
- Added copy() methods to MeshAttribute and MeshElement to easily (and
more efficiently, though not perfect) copy data to the attribute arrays.