ccode: Express all Piecewise() using "?"

All tests had to be modified as well.