Merge pull request #22945 from nullaus/bug1053509

bug 1053509 - Use plain js download object when download succeeds. r=crd...
(cherry picked from commit 385f8b1fc9179441c9d6a6ad16ff8701edfa1faa)
Merge pull request #23007 from nullaus/v1.4

Merge pull request #22945 from nullaus/bug1053509
Merge pull request #22979 from evelynhung/issue-m039154

Bug 1039154 - handle provisioning document format error, r=gsvelto
Bug 1047645 - Use manual timeout to guard _closed event from not firing r=alive

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
Merge pull request #22967 from KevinGrandon/bug_1031225_cherry_pick_bug_1047645_to_v1dot4

Bug 1047645 - Use manual timeout to guard _closed event from not firing
Bug 1045503 - [tarako][contacts] we should reduce the use of storage by contacts app
Merge pull request #21665 from EragonJ/bug-1035823

Bug 1035823 - [DSDS] The SIM manager page is not refreshed if configurat...
Revert "Merge pull request #21665 from EragonJ/bug-1035823" for Gu test
failures on TBPL

This reverts commit ce631d7ada1845ef7ed925a506eb91cda6f09d24.