various small changes
Functional changes are some preparations needed for testing witness plugin in unit tests and moving encrypt/decrypt of memo from wallet to transaction_util, so the code can be shared with unit tests and "outside world" through wax.