Massachusetts residents voted in record numbers earlier this month, state officials said Tuesday. Secretary of the State William F. Galvin said the Nov. 6 turnout was 3,184,196 people, or 73.3 percent of registered voters, compared with 3,102,995 people who voted in 2008, the previous record. Turnout may have been boosted by the extensive ground efforts of the state’s dominant Democratic Party, which mobilized to help Elizabeth Warren defeat Senator Scott Brown in the nation’s most expensive Senate race. Galvin also announced that two approved ballot questions, a medical marijuana law and a “right-to-repair” motor vehicle law, would take effect Jan. 1. Galvin said the state’s representatives to the Electoral College will officially convene Dec. 17 to cast 11 electoral votes for Obama and his running mate, Vice President Joe Biden.