Learning for Adaptive and Reactive Robot Control (A Dynamical Systems Approach)