Refactor manifest: specific setter functions

Fix bugs revealed in MeshMS bundle private/public key generation and
bundle secret key handling for export/extract commands.

Instrument the first MeshMS test case to aid debugging.