Bug 1049439 - change appWindowManager from singleton to class 

https://bugzilla.mozilla.org/show_bug.cgi?id=1049439
don't use window here. Please put appWindowManager in global announcement as well.