The d2 clothing and footwear chain has been sold to eight members of its management team in a multi-million pound buyout deal.