The revival of Victoria's State Electricity Commission and renewable energy targets will be included in the state's constitution, after laws passed parliament.