Merge pull request #31 from musitdev/master

change static to const when needed and change {:?} to {}
Cleaned up main file
Implemented Socket::new
Added some more comments and tests
Implement Socket::bind
Read + Write
Removed the marker
Removed lifetime
Updated to latest version
Fixed
Merge pull request #32 from thehydroimpulse/refactor

Refactor
Fixed reading and writing from the socket
Merge pull request #33 from thehydroimpulse/refactor

Fixed reading and writing from the socket
Adds constants for pair protocol

One constant for the protocol
One constant for the socket type
Adds a test showcasing the pair protocol
Adds some constants needed to use nn_setsockopt

A usage example is in the create pair test.
Adds a test showcasing the pair protocol from the nanomsg.rs user point of view
Merge branch 'blabaere-master'
Fixes broken build

The build got broken because of a change in link-config that requires the latest rust nightly build.
But this rust build changes the name of the fail macro to panic
Merge pull request #36 from blabaere/master

Fixes broken build