Feature #5157 - handling MP3 and FLV mime type
- factorizing/centralizing some code
- improving mime type management around the media
- wiring drag & drop of photos & videos