Some Octave patches to reapply

These are some patches to the Octave module I would like to reapply. None of them involve whitespace changes or style cleanups. They make the following changes:
- Fix the failures in the Octave Travis builds by disabling optimisation
- Drop support for Octave versions older than 3.2.0
- Test Octave against version 3.8 (the latest stable series) in the Travis builds