fromEuler

Based on https://github.com/mrdoob/three.js/blob/master/src/math/Quaternion.js