Gov. Cuomo signs law allowing for early voting, preregistration for teens, closes funding loophole