Massachusetts gained nearly 39,000 new jobs during the first nine months of 2011, according to a new report that paints a far brighter picture of the state’s recent economic growth than did federal statistics released last month.