Implements a method to catch slideshow events

To be able to save EAST sessions, we must catch events such as slide changing
and updating. We try to do this by overriding slideshow.js functions. For now
it's not complete, broken and only prints things in the console.