Update each of the relevant media patches with the latest work.

Fastfowards patches from media issues and adds glue patch to
fix series of problems with document embeds on bind/unbind.
Merge pull request #80 from kevinchampion/update-media-patch

Update each of the relevant media patches with the latest work.