Git message protocol

1) Adds a message protocol to send messages to Nacl from js.
2) Moves the git clone command into class which can be extended

@rginda