Modified inter-thread communication

   Result queue now returns Result (a class) which may contain
   an exception.  Results without exceptions will have exId set
   to nj::Exception::no_exception.  If the caller receives
   a result containing an exception, a Javascript Exception is
   thrown.