A city of the first class may provide for the holding and regulation of special elections, the return and canvass of votes cast thereat, and pay the expenses of the same.