Fix mpd parsing to correctly parse Initialization tag generated by MP4Box. Also, general clean-up to a more javascript-y object model.