added Quat::pow method
fix Quat::toEuler to give results consistent with Quat::fromEuler