Izborno zakonodavstvo, registar birača, referendumi