Merge pull request #151 from hannobraun/rust-upgrade

Upgrade to latest Rust
Update to nightly
Merge pull request #152 from bjz/update

Update to nightly
std::cast::transmute -> std::mem::transmute
Merge pull request #153 from alexanderchr/master

std::cast::transmute -> std::mem::transmute
Changed build to make it work in my own project.

I need to link it statically and I don't really see a way to do it
without hacking the way it's built.