Massachusetts ranks as the second-best state in the U.S. to start, grow and operate a business, according to a new ranking. But it's not without its challenges.