Rewrite the hack for EXPOSED clauses.
Rewrite the hack for EXPOSED clauses.

The current version was correctly converting all the exposed variables
in Latent clauses in the ast, but did not append the exposed variables
to Foreign.outputs. This bug causes cgpm_metamodel to have no idea who
is responsible for modeling the exposed latent variables.

probcomp/bayeslite,probcomp/bayeslite