Merge pull request #13 from 12sidedtech/master

Add Memory Management and Scheduler Management Primitives
Add SO_REUSEPORT for macos
Merge pull request #14 from rozaliev/fix_SO_REUSEPORT_osx

Add SO_REUSEPORT for macos
Add getsockname(2) wrapper
Merge pull request #15 from ayosec/getsockname-function

Add getsockname(2) wrapper
Update source code to new rustc
std::os::errno returns uint now
rtio removed, use own routines for reading/writing
Bump version to 0.1.0
Track Rust master
Use namespaced enum variants.

As per this pull request https://github.com/rust-lang/rust/pull/18973,
enum variants require fully qualified path to access them.
This commit introduces boring changes to make nix-rust compiles againts
new rust.
Fix for Linux
Implement Show for event::EventFlag
Fix improper_ctypes warnings.
Fallout of Copy becoming opt-in.
Fallout of Copy opt-in for non-Linux

Based on #22.
added consts and implementations for madvise and msync as well as additional file stat consts, also removed warning about attribute in signal.rs