Documentation and performance improvement to Quat::getEulerAngles.

Refs #10021