Policy Learning - A Unified Perspective with Applications in Robotics