Move from tweetnacl to ed25519, for performance
Adds tests for signedJson.middleware