rustpkg: Implement `rustpkg test`

Towards #7401
auto merge of #9549 : catamorphism/rust/rustpkg-test-command, r=catamorphism,metajack

r? @metajack Towards #7401