Updated for Rust 0.6

Tweaked the code to work under Rust 0.6 and reflected those tweaks in the doc. Also spruced up the doc here and there.

Thanks for writing this tutorial!