The retailer hopes to turn social discovery into revenue, as it fights flat traffic and a middle-market squeeze.