Oculus rift

Significant progress on still-incomplete oculus-rift branch. Includes multiple stereo modes, refactoring, bug fixes, partial head tracking, but no progress on warping yet.