Bug 943510 - Convert to Promise.jsm in the devtools framework. r=pbrosset, r=rcampbell