At the statehouse: a new education funding formula, a lawsuit over redrawn districts, a move toward loosening gun laws