Enable High DPI display support.

These changes make the webGL context render at the native resolution
for high DPI displays like on the retina MacBook Pro and Chromebook
Pixel.
Merge pull request #4 from jherrm/master

Enable High DPI display support.