Rory McIlroy has won the Masters golf tournament for the second consecutive year, completing a remarkable comeback after 17 previous attempts without victory at Augusta National.