Yvan Muller took his third World Touring Car Championship title at Macau with a second and third place finish to match Andy Priaulx's record of titles.