Start transition to new CodeRef handling.

This doesn't rip out any of the "old way", just starts using the new
annotation for code ref static info instead.
Eliminate code-gen for huge code refs array.
Update bootstrap.
Start to clear up some now-dead code.