quat: new package for quaternions
Created by: kortschak
This is not quite ready; I need to add tests for the higher functions.
The code for higher functions is taken from the April 1 joke for 2017, but on the face of it looks sound. Tests are needed.
Please take a look.
Closes #229 (closed).