The marketing director of UK supermarket chain Safeway, Karen Bray, has resigned after ten years with the company.