The Andover Companies is Massachusetts’ best homeowners insurance company, followed by Travelers, according to our research.