Fix error trapping in embedded modules. http://codereview.appspot.com/216044
Fix error trapping in embedded modules.
http://codereview.appspot.com/216044

Cajita keeps track, in the module handler of the outcome of the last module.

The same module handler is used to handle the modules a module loads.
The lastOutcome variable is shared state across modules which means
that the outer modules result is not independent of any modules it
loads.

This fixes that by using a local variable inside the handle function
to store intermediate results.  The problem arises because lastOutcome
is set on both sides of the call to newModule.instantiate.

R=erights@gmail.com


git-svn-id: eb21526166532bd3afc2c1499c0cf105ce815f5a@3988 360991c0-9f3b-0410-ba87-8b362a00edf4

initaldk/caja,googlearchive/caja,cepm-nate/caja,googlearchive/caja,initaldk/caja,wishabi/caja-1,jasvir/caja,jasvir/caja,googlearchive/caja,initaldk/caja,jasvir/caja,googlearchive/caja,cepm-nate/caja,wishabi/caja-1,jasvir/caja,googlearchive/caja,cepm-nate/caja,wishabi/caja-1,initaldk/caja,initaldk/caja,googlearchive/caja,cepm-nate/caja,jasvir/caja,wishabi/caja-1,wishabi/caja-1,cepm-nate/caja,wishabi/caja-1,initaldk/caja,cepm-nate/caja,jasvir/caja