Confidence among employers in Massachusetts continued its up-and-down trajectory in October, when the business community felt more optimistic about things.