Change rmake and doc-test to support TESTNAME

Closes #11288
Closes #11222
auto merge of #11290 : alexcrichton/rust/testname, r=brson

Closes #11288
Closes #11222