Changes to core class templates

This is another batch of changes, primarily to fix class templates and to switch to passing arguments by reference.

Main classes affected: ChVector, ChQuaternion, ChMatrix, ChFrame, ChFrameMoving (in src/core) and ChBody (in src/physics).  

--Radu