Change from out-of-date 'rust' to 'rustc' for building.
Remove unecessary extern mod std.
Update 'spawn' syntax.
Correctly create build directory.
Formatting updates.
Change from std::rt::io to std::io and a few others to make it build with 0.10-pre.
Samples build (but client crashes...).
Build other samples in the build directory.