Implement sign identity action and add transaction action in wot

Refactor wot to better handle node/arc metadata