Factor out rotation matrix class etc.
- Add a RotationMatrix class
- Move the computation of the matrix to ViewDirection
- In ViewDirection, calculate hfov and vfov before loading the input image, since this will be necessary for a future cropping feature.
- Stop rounding views down to the nearest 8 pixels, that's a Pannellum tiling requirement not relevant here.
- To compare ViewDirections with different invert properties, compare the rotation matrix elements.