Bug 914944 - Move PowerManager to mozilla::dom r=Ms2ger