Update ceres-solver.rb to version 1.8.0

1. Fix build breakage on OSX Mavericks.
2. Update to the latest stable version.
3. Build and run tests by default.