Add a rustdoc test

This is just a smoke test which verifies that the expected files are
generated. Also makes the rmake tests have the right deps.
rustdoc: thread through the context for rendering

This partially reverts 8b5a317.