Adds Survey protocol

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