Correct syntax error with trailing comma
Add configurable highResolutionMode parameter that can be 'auto' or 'disabled' or a custom ratio. Adds a getResolution method to Util.js. Clean up references to the devicePixelRatio in other code. See issue #465