Merge pull request #38 from skullzzz/master

fix compile issues on rust and cargo nightly
crate_id -> crate_name
Add repr(C) to types used in C calls
--crate-file-name -> --print-file-name
str::raw::from_c_str -> string::raw::from_buf
use vector indexing
Merge pull request #39 from ebfe/deprecation

Update to rust master
Merge pull request #1 from jeaye/master

pull changes from jeaye/ncurses-rs