Marks and Spencer’s new mobile app function allows customers to pay and leave their shops without ever going near a till.