Expose global video events.

e.g "A video is playing"

These are hooks for Ophan.

Also count the number of Flash and HTML5 clients.
Fixed javascript style errors
Merge pull request #7541 from guardian/flash-video

Expose global video events.