Refactoring AdapterHandle

Added "use strict" directive
Refactoring of ResourceManager

Added "use strict" directive
Naming convention for closure variables
Moved closure variables to the top of the file
CC: Renamed endsWith to stringEndsWithSuffix
More ResourceManager refactoring

CC: Improved parameter names
Refactoring ResourceManager

Removed invalidateDocumentHandles from showError
Removed showError
Improved closure annotations

Compiles base module without warnings now
FormatHandler refactoring

Moved all exports to the bottom of the file
Improved annotations
Reformatted code in base module
ResourceManager: Renamed parameter to not conflict with window.document
Merge branch 'code-review' into develop

Has the changes discussed in the code review
Missing: ResourceManager per XML3D element