[FEATURE] Add listPendingWithdrawals and clearWithdrawal to gateway lib.
[CHORE] Finish refactor of bin/gateway to ./cli.