Add primitives signature/endorsement, update input/message commands.
Merge pull request #181 from evoskuil/version2

Add primitives signature/endorsement, update input/msg cmds.