rustpkg: Implement `rustpkg test`

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

r? @metajack Towards #7401