2017 was a good year for small-business owners, who are optimistic that the best is yet to come.