An Optimum Well Control Using Reinforcement Learning and Policy Transfer; Application to Production Optimization and Slugging Minimization