Merge pull request #130 from blackhydrogen/resource-video

MediaControls refactored and modified slightly
Added Unit Tests for PanZoomWidget.
Minor change to PanZoomWidget - heights gets updated when the width is updated (originally it was assumed the height was set to auto).
Refactored a function in PanZoomWidget.
Merge pull request #131 from blackhydrogen/resource-image

Added Unit Tests for PanZoomWidget.
Moved resource viewer events to the global constants variable
Merge pull request #132 from blackhydrogen/boilerplate

Moved resource viewer events to the global constants variable
refactoring
Merge pull request #133 from blackhydrogen/resource-timechart

refactoring
Fixed closing and fullscreen toggling actions being swapped
Merge pull request #134 from blackhydrogen/boilerplate

Fixed closing and fullscreen toggling actions being swapped
Merge pull request #135 from blackhydrogen/resource-video

Stability changes to VideoResourceViewer and MediaControls, and added unit tests for MediaControls
Removed unnecessary console.log statements from VideoResourceViewer
VideoResourceViewer now displays the error screen if an invalid ID is provided
Fixed wrong logic being used on video resource resize
Added basic initialization unit test for VideoResourceViewer
Added unit test for video playback
Added class to the zoom slider of VideoResourceViewer
Unit test refactored for better anonymous function support
Added VideoResourceViewer unit test for volume level changing
Added VideoResourceViewer unit test for toggling mute
Added VideoResourceViewer unit tests for zooming