Only start/stop embedded content if slide has actually changed

This patch should fix [issue #478](https://github.com/hakimel/reveal.js/issues/478) by only calling stopEmbeddedContent and startEmbeddedContent if the slide has actually changed.