Refactored UI.
Removed duplicated editor code from viewer UI classes and moved them to snaplapseViewer.js
Moved UI code from snaplapse.js to snaplapseViewer.js
Added a new snaplapse object to load tours to the viewer but not editor.
Added a function for loading shared data in cross domain API.
Updated template_includes.js