MediaEmbed/ParserTest: use the system's temp dir if there's no .cache dir in the tests dir
MediaEmbed: transfer the priority of the MEDIA tag to the tag it creates
Fixed PHP 5.3
Synced to 27dfb949d23c96ae79f4a14dee2714d29ac4963c
Synced to 27dfb949d23c96ae79f4a14dee2714d29ac4963c