Fixing Quaternions (part 1)

This is part 1 of my attempt to fix our quaternion implementation.
CubeAndTiles is working. Now I have to check SceneManagement.
Fixing Quaternions (part 2)

Problem: CubeAndTiles doesn't use a scaling matrix so the rotation
matrix is the first operation. However, in this case the matrix must be
transposed to work like expected. This is not necessary if there are
other operations before a rotation.