BOSTON — With tens of millions of dollars in campaign spending flowing into Massachusetts in support and opposition to a record number of referendums this year, state lawmakers are moving to overhaul the process of putting ballot questions before the…