[travis][cmake] Synchronize.
travis: ignore tests folder for coverage.
[shared-tests] Synchronize
[travis] Synchronize.
[cmake] Synchronize.
Use reference to catch exception.
Remove exception specifications.

Cf. roboptim/roboptim-core#60