World number one Rory McIlroy produced a stunning late birdie blitz to pass Justin Rose and win the DP World Tour Championship in Dubai.