Embedding refinements

From #4632.

Includes:
* List of embed methods each plugin accepts
* Filters embed popup by this list
* Auto-resizes iframe based on the size of its content
* Override of embed code template for simplicity
* Move embed link to bottom of widget