Bug 910446: Handle duration changes in Music app

With the landing of bug 831224, the duration of MP3 files is
computed while they are playing, and updated accordingly. If
this happens, we distribute a 'durationchange' event to the
related apps.

With this patch, we handle 'durationchange' in the Music app.
All we have to do is to update the displayed duration and ensure
that the end timeout triggers at the end of the track.

Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>
Bug 912184: use require() to load shared/js files
Bug 909374 - [Video] Improve view activity saving feature robustness
Bug 911669 - [B2G][Helix][Camera][ouyangming] The flash's state is different between the android device when do the same operation
Bug 902497 - [sms][mms] use the new asynchronous getSegmentInfoText from bug 903403 for updateSmsSegmentLimit r=schung

* we don't call getSegmentInfoForText more than once every 500ms
* getSegmentInfoForText is now asynchronous and the new code is handling this
* we now do the composeForm dataset type change in ThreadUI. As a result, the
  "type" event, sent by Compose, is not cancelable anymore, because we don't use
  this anymore.
Bug 911809 - Copy variant.json at build-time to ftu. r=yurenju
Bug 908949 - Move settings DOM into indivdual files.
Merge pull request #11913 from wanderview/gallery-setup-require

Bug 912184: use require() to load shared/js files. r=djf
Merge pull request #11820 from tdz/bug-910446

Bug 910446: Handle duration changes in Music app r=davidflanagan
Merge pull request #11888 from KevinGrandon/bug_908949_settings_dom

Bug 908949 - Move settings DOM into indivdual files r=kaze
Bug 907941 - gaia-ui-tests-pushbot (see bug)
Bug 912680 - Prefer underscore_delimited instead of camelCased filenames r=kaze
Merge pull request #11933 from KevinGrandon/bug_912680_settings_filenames

Bug 912680 - Prefer underscore_delimited instead of camelCased filenames r=kaze
Bug 900425 Rotate picture by its orientation metadata
add higher-res Marketplace icon (bug 901134)
Merge pull request #11650 from hotzenklotz/900425_exif_rotation

Bug 900425 Rotate picture by its orientation metadata r=davidflanagan
Bug 894826 - WIP - [Buri][Gallery] Multiple taps on image edit ok button causes gallery to crash
Merge pull request #11935 from dmarcos/master

Bug 894826 - [Buri][Gallery] Multiple taps on image edit ok button...
Merge pull request #11865 from julienw/902497-use-asynchronous-updateSmsSegmentLimit

Bug 902497 - [sms][mms] use the new asynchronous getSegmentInfoText from...
Bug 908531 - [MediaDB] move the dummy file filter out of mediadb and use options to supply it.