[controlboard] Added initial compatibility with new yarp InteractionMode interfaces

Without this fix the master branch does not compile against the InteractionMode yarp branch https://github.com/robotology/yarp/tree/InteractionMode .