Quaternion primitive types for issue 1082

Quaternion primitive types for issue #1082. Didn't find any issues with anything from the sandcastle gallery. This should be a lot easier than the Cartesian types since I didn't have to figure out whether it should be Cartesian2/3/4.