Adapt to new callback

Cf. roboptim/roboptim-core#38

For now, we only provide `x`, `cost` and `constraintViolation`. Other pure-Ipopt parameters could be processed as well if they are deemed relevant.

cc @jorisv @stanislas-brossette