Improvements to embeds

- [x] add content negotiation to embed controller
- [x] get embed config from the server (only send embed key to template)
- [x] add host to embed URLs
- [x] tests