Merge pull request #8601 from ferjm/bug841521

Bug 841521 - The Trusted UI never opens on first launch (purchase button...(cherry picked from commit 07be1290ffca3c1c6387e19273ec8b05fbce468d)

Conflicts:

	apps/system/js/window_manager.js
Merge pull request #8626 from AntonioMA/url_manifest_fix

Fixed maximum URL length in the browser web activity(cherry picked from commit ddcdcc29156c462d62e4f98e166af5bb28571348)
Merge pull request #8921 from davidflanagan/bug856798

Bug 856798: grant storage permission to mediadb and async storage clients r=fabrice(cherry picked from commit a1c8f555cdab3ed88860b4b0dfbd189f4bb36d20)
Merge pull request #8923 from davidflanagan/bug856798-v1-train

Merge pull request #8921 from davidflanagan/bug856798
Bug 834773 - Support image/* and type arrays in pick activity r=dkuo(cherry picked from commit e64428cae922d32fc043cca390c32473963caec6)
Merge pull request #8926 from davidflanagan/bug834773-v1-train

Bug 834773 - Support image/* and type arrays in pick activity r=dkuo(che...
changed progress height to fit .gif graphic
Fix collisions when several [BB]'s are applied together
Bug 845487 - Dialer responds to cross-origin messages without verifying the source (exploitable) (r=crdlc)(cherry picked from commit 169a4bfb2e19a3f015373c059b7ff90af4965eed)
Merge pull request #8764 from gtorodelvalle/dialer-bug-845487-cross-origin-exploit-revolutions

Bug 853799 - [Dialer] Fixing the Facebook synchronization (regression of 845487) (r=jmcanterafonseca).(cherry picked from commit 9718acef2680ac58b83160bdb5804fcbb3993a19)
Merge pull request #8915 from crdlc/bug-856584

Bug 856584 - Regression 845487 - postMessage for workers does not suppor...(cherry picked from commit 4fbf53318c32e27cdbf79ee23955298860ed42e7)
Merge pull request #8523 from borjasalguero/action_menu_proposal

Bug 848778 - [SMS] Create a 'generic' option menu for new features r=ssa...(cherry picked from commit 34ec6dd4092f8f6455ae7296f1d1a1a445c1164d)

Removed the references to responsive.css that we don't have on v1-train.

Conflicts:
	apps/sms/js/startup.js
Merge pull request #8613 from borjasalguero/remove_dependencies_action_menu

Bug 850582 - [SMS] [Generic 'action-menu'] Remove dependencies with SMS ...(cherry picked from commit 0a73439d3a82e3d148eca5685729ad32d33ba744)
Bug 852162 - Generic reporting of events received during startup path

This introduces two standard events:
- above-the-fold-ready: when data on the first screen is ready
- startup-path-done: everything for the first panel is done

startup-path-done is mandatory to whitelist an app for that perf test
(cherry picked from commit c24074cc9be379334fecc5b83302d5adbc7b2806)

Conflicts:
	apps/communications/contacts/js/contacts_list.js
Bug 852162 - Fix a bad resolution of a merge.
(cherry picked from commit 16fecfd832c78c44774e6d8cfa48e2cb09b191c1)
Bug 816067 - Change FTU backgrounds
(cherry picked from commit 79a2c377340e294cb89b74e9b18cfe46f41d54e5)
Merge pull request #8475 from dominickuo/email-attach-from-gallery

Bug 838006 - Support attaching image files from gallery picker in email. r=asuth(cherry picked from commit 8311004db39832b7478b357be76e476944b3ba4b)

Conflicts:
	apps/email/js/compose-cards.js
	apps/email/style/compose-cards.css
	apps/gallery/js/gallery.js
Merge pull request #8917 from jrburke/storage-perm

Bug 856732: email: ask for storage permission r=asuth(cherry picked from commit 1f7c4553be6f41e679528645e982a81176154700)
Merge pull request #8912 from lodr/bug-856538-add-storage-permission-comms

Bug 856538 - Adding storage permission to comms
Cause r+(cherry picked from commit 34901cedb6f4ad4100506f1f928622a51db62da4)
Merge pull request #8847 from crdlc/bug-851692

Bug 851692 - clock on homescreen is out of date from when screen turned ...(cherry picked from commit 45506a722460094cd69e8fa419874cf2eb73fa2e)