Retailer Marks & Spencer is shuffling the responsibilities of its executive team in a move that highlights the growing importance of its online and international businesses.