Update for Rust 0.12
Cargo support and fixes for external url crate