Update for Rust syntax changes

extern crate foo = "bar";
is now
extern crate "bar" as foo;
as per RFC 47.  Details at https://github.com/rust-lang/rust/issues/16461
Merge pull request #112 from jamesluke/master

Update for Rust syntax changes