American Billy Horschel has sunk a long playoff putt to win the European tour's flagship PGA title and condemn Rory McIlroy to yet another agonising loss.