Added support of the Webots motion API, and added a related sample.

-> Webots motion API support
-> motion sample
-> syntax corrections of Robot.cpp