Bug 864516 - Refresh time displays only when they are visible

- Made the homescreen, lockscreen and status-bar stop refreshing their
  time displays when the screen is off or they are invisible
- Fixed timer-leaks caused by starting the same timer twice overwriting
  the previous one without cancelling it
- Made the statusbar clock reflect locale changes immediately
Merge pull request #9490 from jedp/863417-prefs-for-persona-urls

Bug 863417 - Can now set toolkit.identity.uri as pref; r=fabrice, a=tef+
(cherry picked from commit 9dbb2d9ee919ea75d33be495ff710b7c3a3b24d9)

Bug 863417 - pref for identity ui, fix line too long; a=tef+
(cherry picked from commit f48d569231583b91118f1c9c848796259e35aa7b)

Conflicts:
	apps/system/js/identity.js
Merge pull request #9625 from jedp/v1.0.1

Bug 863417 - toolkit.identity.uri pref; resolved conflicts from v1-train
Merge pull request #9352 from fcampo/RemainingPinIntents-ussd

[dialer] Bug 860660 - PIN&PUK: Show counter of trials remain(cherry picked from commit 887cae7e556fc19722011f0674fdd4d4bfeacc3e)
Bug 861080 - [sms]can't select last sms. r=borjasalguero
(cherry picked from commit f5de114feb0a3690dcbe5e226345f4d242a14f97)
Merge pull request #9589 from lodr/bug-828298-avoid-negative-offsets

Bug 828298 - Fixig a problem in the algorithm closing a tag in mindgap.js
Cause r+(cherry picked from commit d6ab69091492a2743b50eae24f8965e5a07c9d1c)
Revert "Merge pull request #9352 from fcampo/RemainingPinIntents-ussd"

This reverts commit 69f273fb42b66174d621daaff1fd498775e1b2cc.
Merge pull request #9340 from fcampo/RemainingPinIntents-system

[system] Bug 860660 - PIN&PUK: Show counter of trials remain(cherry picked from commit b565d874e9dba9d182c9952500869956365dbba4)

Conflicts:
	apps/system/js/simcard_dialog.js
	apps/system/test/unit/simcard_dialog_test.js
Merge pull request #9246 from fcampo/RemainingPinIntents-ftu

[ftu] Bug 860660 - PIN&PUK: Show counter of trials remain(cherry picked from commit 7faefd0273f4dce24563cda57450bfb1c7416b45)

Conflicts:
	apps/communications/ftu/index.html
	apps/communications/ftu/js/sim_manager.js
	apps/communications/ftu/js/ui.js
	apps/communications/ftu/locales/ftu.en-US.properties
Merge pull request #9294 from fcampo/RemainingPinIntents-settings

[settings] Bug 860660 - PIN&PUK: Show counter of trials remain(cherry picked from commit 4cd2d491c28e7312a2c070ea4bbaf76442161794)

Conflicts:
	apps/settings/index.html
	apps/settings/locales/settings.en-US.properties
Bug 860660 - [settings][dialer][system] PIN/PUK retry counter now displayed correctly.  r=fcampo

Conflicts:
	apps/communications/ftu/js/sim_manager.js
	apps/settings/index.html
Bug 855792 - CE requirement on maximum volume
fixed conflict in v1.0.1
Merge pull request #9663 from mpizza/fixed_ce_vol_conflict

Bug 855792 - CE requirement on maximum volume, r=alive, a=blocking-b2g:tef+
Revert "Merge pull request #9340 from fcampo/RemainingPinIntents-system"
This reverts commit c0b5fb5ebede4b540f07bdb9060833196a81b695.

Revert "Merge pull request #9246 from fcampo/RemainingPinIntents-ftu"
This reverts commit aa515de.

Revert "Merge pull request #9294 from fcampo/RemainingPinIntents-settings"
This reverts commit c85199c.

Revert "Bug 860660 - [settings][dialer][system] PIN/PUK retry counter now displayed correctly.  r=fcampo"
This reverts commit f1ac500.
Merge pull request #9352 from fcampo/RemainingPinIntents-ussd

[dialer] Bug 860660 - PIN&PUK: Show counter of trials remain(cherry picked from commit 887cae7e556fc19722011f0674fdd4d4bfeacc3e)
Merge pull request #9340 from fcampo/RemainingPinIntents-system

[system] Bug 860660 - PIN&PUK: Show counter of trials remain(cherry picked from commit b565d874e9dba9d182c9952500869956365dbba4)

Conflicts:
	apps/system/js/simcard_dialog.js
	apps/system/test/unit/simcard_dialog_test.js
Merge pull request #9246 from fcampo/RemainingPinIntents-ftu

[ftu] Bug 860660 - PIN&PUK: Show counter of trials remain(cherry picked from commit 7faefd0273f4dce24563cda57450bfb1c7416b45)

Conflicts:
	apps/communications/ftu/index.html
	apps/communications/ftu/js/sim_manager.js
	apps/communications/ftu/js/ui.js
	apps/communications/ftu/locales/ftu.en-US.properties
Merge pull request #9294 from fcampo/RemainingPinIntents-settings

[settings] Bug 860660 - PIN&PUK: Show counter of trials remain(cherry picked from commit 4cd2d491c28e7312a2c070ea4bbaf76442161794)

Conflicts:
	apps/settings/index.html
	apps/settings/locales/settings.en-US.properties
Bug 860660 - [settings][dialer][system] PIN/PUK retry counter now displayed correctly.  r=fcampo

Conflicts:
	apps/communications/ftu/js/sim_manager.js
	apps/settings/index.html
Merge pull request #9603 from xiupinglong/v1.0.1

Bug 862193 - [Buri][Notification][Language]Overlap on notification r=Etienne