Bug 939662 - Remove "using namespace mozilla::dom;" from MediaDecoder.h and fix fallout.  r=cpearce
Bug 939909 - Get rid of Optional<> from internal Promise functions. r=bz

--HG--
extra : rebase_source : bcf49b1b593504aeb619f4bbd16028e57861641b