Opentxs CLI cleanup

Builds on top of Erics PR (both modified main.cpp). I'll rebase when his stuff is merged.