Move Presentation Mode related code from viewer.js to its own file
Merge pull request #3752 from Snuffleupagus/move-PresentationMode

Move Presentation Mode related code from viewer.js to its own file