It began by helping lawyers get paid. Now the company formerly called AffiniPay is moving into the work before the bill - and the money after it.