Use common code for reading a connection profile, enrolling the admin, registering and enrolling a user, building a wallet, and building a certificate authority client. Signed-off-by: Bret Harrison <beharrison@nc.rr.com>