Massachusetts is home to 36 of the 500 companies making this year’s ranking, with three local firms making the top 100 — including the No. 2 spot.