Follow changed in rust master
Code cleanup
minor tweaks
add LD_LIBRARY_PATH

rust no longer uses rpath unfortunately
typo in variable name
Use byte literals
Regenerate code
Fix warnings
Update for rust language changes

Rust's Vector<T> trait has been renamed to Slice<T>, as per
https://github.com/rust-lang/rust/commit/fbc93082ec92c3534c4b27fef35d78d97bd77fd2
Follow changes in rust master
Follow changes in rust master

Thanks to @jansegre who wrote most of this patch.
Fix warnings
Merge remote-tracking branch 'orig/master'