Envestnet is set to be acquired by Bain Capital and Reverence Capital, with the deal expected to close soon.