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