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.
Bug 1035823 - [DSDS] The SIM manager page is not refreshed if configurat...
Merge pull request #23057 from EragonJ/v1.4-bug-1035823

Bug 1035823 - [DSDS] The SIM manager page is not refreshed if configurat...
Merge pull request #21602 from RudyLu/keyboard/Bug1034210_commit

Bug 1034210 - send correct keycode for non-latin IME.
r=timdream.
a=bajaj

(cherry picked from commit 12afc5ca3076ea8cbcd5989b32d9d1a4f092eb8f)

Conflicts:
	apps/keyboard/js/keyboard.js
	apps/keyboard/style/keyboard.css
Merge pull request #22799 from nullaus/bug1049790

bug 1049790 - Use one event listener for system time changes. r=fcampo
(cherry picked from commit 408e24a54fb13217428fa9387ca01044a1ea3da4)

Conflicts:
	shared/js/tz_select.js

(cherry picked from commit a2e8bcf542ea41ea8c2acfe847443336c7dea17b)
bug 1049790 - v1.4 specific patch.