Bug 1049439 - change appWindowManager from singleton to class 

https://bugzilla.mozilla.org/show_bug.cgi?id=1049439
remove this change