As hundreds of TD Securities managing directors gathered at the Encore hotel overlooking Boston Harbor in June, there was a celebratory atmosphere in the air. Less publicly, there was grousing as well.