Jenson Button took his second victory of the year by controlling a hectic, wet Chinese Grand Prix.