The median home sale price in Massachusetts jumped by 7.9% last year, and in 10 communities $1 million became the new median price.