Bug 1088456: unload the current video if the view activity is running an...

...d we are still in the foreground
My only comment with this code is a nit about its placement within video.js. It seems more consistent with the existing code for the event listeners to be toward the top of the file as opposed to in the middle.