Bug 1047645 - Use manual timeout to guard _closed event from not firing

Patch for v1.4.

Conflicts:
	apps/system/js/app_transition_controller.js
	apps/system/js/app_window.js
	apps/system/test/unit/app_window_test.js
	apps/system/test/unit/lockscreen_window_test.js