FRAMINGHAM, MA — The electronic manufacturing services industry contracted 11% in 2009, less than expected due to a resurgence of consumer spending late in the year. According to a new forecast from International Data Corp., the industry will enjoy a compound annual growth rate of 8% for the 2010-2014 forecast period. But the recovery is still on shaky ground, with periods of weakness expected into 2011.