In Massachusetts, Medicaid spending on prescription drugs dispensed at pharmacies has more than doubled since 2010, according to figures from the state health department. That surge is why now, the state is looking for strategies to tamp down on medication spending.