Make autoplay a parameter of the video player

This will allow us to have multiple players on a page and choose which (if any) to autoplay.

I've also refactored the (now hideous) video player template, so that it takes a video player model (on the suggestion of @gklopper). It's much nicer now!

I've also removed duplicate logic for constructing the end slate url from the JavaScript - it's now required that you pass this in when you construct the player and becomes a data attribute, which I think will make it easier to understand in the future.
Yep that sounds much better - will do that