rustdoc: Use --crate-name with --test

This ensures that the name of the crate is set from the command line for tests
so the auto-injection of `extern crate <name>` in doc tests works correctly.
This just seems weird. I'd rather see something like

```rust
if crate_name.is_some() { krate.name = crate_name.unwrap(); }
```