Update ceres-solver.rb to version 1.8.0

1. Fix Mavericks breakage.
2. Add the ability run test (on by default) (thanks @dpo)
Update ceres-solver to 1.8.0

- Fix for Mavericks
- Add tests
- Build shared libs.