Sexual misconduct in the California Legislature was bound to be a prominent issue when lawmakers got to Sacramento last month, but for seven weeks it has felt like the only one, with the burgeoning scandal taking one surprising twist after another and diverting attention from government spending, climate change and housing.