Somerville, Mass., has passed laws granting rights to people in polyamorous relationships — and it’s just getting started.