Bryon Hefner, the estranged husband of former Massachusetts Senate President Stan Rosenberg, a Democrat from Amherst, has pleaded guilty to three felony counts of indecent assault, assault and battery, and disseminating nude photographs without consent. The plea agreement resolves a major sexual misconduct scandal that led to Rosenberg’s downfall last year. WGBH Radio’s Isaiah Thompson reportsfrom Suffolk Superior Court.