Bug 1092979 - Add mochitest to ensure loadedmetada is emitted as early as possible. r=cajbir
Bug 1093654 - Fix various memory leaks in MediaDecoders. r=jwwang

Change various function prototyping to make object ownership more explicit.