Small refactoring for handling -Zunpretty calls:
- reuse options from main compiler invocation instead of crafting new ones.
- move some rust specific methods from base-compiler.js to rust.js
Now also handles HIR output in a dedicated pane.
Still a lot of copy/pasting from the macro expansion.
fixes#2567
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>