AddsPub/Sub protocol

Adds a test in libnanomsg to check the c bindings.
Adds the enums and a showcase test in main lib.
Adds subscribe and unsubscribe functions in main lib.