Update --print-cp to include user-selected modules.

Add support for scalding-repl.
Use new features in scald-repl.sh.

Supersedes #800 by mutual agreement.