Fix media plugin regexes and use protocol-relative URIs.

This provides more complete support for youtu.be URIs (for example, http://youtu.be/Y1sPVzd-qis was previously not matching). Additionally, makes the final embed URIs protocol-relative to support usage behind SSL.