Bug 973436 - Refactor the battery panel using AMD modules r=evelyn

http://bugzilla.mozilla.org/show_bug.cgi?id=973436