Bug 966471.  Add some facilities for examining the state of a promise via a PromiseDebugging utility namespace.  r=nsm,peterv