std::rt: Add a standalone sleep function.
auto merge of #9191 : huonw/rust/are-you-tired, r=cmr

Allows `std::rt::io::timer::sleep(1000)` rather than `std::rt::io::timer::Timer::new().unwrap().sleep(1000)`.