Sketch in JVM support for module/setting code-gen.
Add an option for stable SC handles.

We can't do these in general thanks to the bootstrap, but we need it in
order to handle cross-compiling.