Update for newer Rust

This updates the codebase to rust 0.10-pre (c848906)