code: function handleStatusMessage(serviceRegistry, status) {
  		if (status && typeof status.HTML !== "undefined") { //$NON-NLS-0$
  			delete status.HTML;
  		}
  		var statusService = serviceRegistry.getService("orion.page.message"); //$NON-NLS-0$
  		if (statusService) {
  			return statusService.setProgressResult(status).then(null, function(e) {
  				console.log(e);
  				throw e; // reject
  			});
  		} else {
  			console.log(status);
  			return new Deferred().resolve(status);
  		}
  	}
docs: Handles a status message from a service by forwarding to the <tt>orion.page.message</tt> service
  and stripping HTML.
  @param {orion.serviceregistry.ServiceRegistry} serviceRegistry
  @param {Object|string} status
  @returns {orion.Promise}