Bug 853351 - Support saving video and audio files. r=benfrancis, a=leo+

https://bugzilla.mozilla.org/show_bug.cgi?id=853351
https://bugzilla.mozilla.org/show_bug.cgi?id=853352