Contractual Reinforcement Learning: Pulling Arms with Invisible Hands