Merge pull request #40 from zqsd/develop

Adds profile / profileEnd wrappers
Fixes problems when image format is !== to internalFormat

We should clearly keep only one field for this.
[#bug/quat-init] Fixes quaternion init function
Merge pull request #41 from cedricpinson/bug/quat-init

[#bug/quat-init] Fixes quaternion init function
[#webglparameters] Fetches max variable webgl parameters
Merge pull request #42 from cedricpinson/webglparameters

[#webglparameters] Fetches max variable webgl parameters
Fixes the prevent default when using keyboard space
Adds basic support for Retina display

It does not handle when we rescale the canvas...
Also we would need an option to configure it
Put webgl caps in a specific files
Add .jshintrc
Fixes jshint error
Makes some small optimization
Merge pull request #43 from cedricpinson/feature/optimization

Makes some small optimization
Adds WebGLCaps to osg namespace
Merge pull request #44 from cedricpinson/feature/webglcaps

Adds WebGLCaps to osg namespace
Abstracts console logging

No more direct call to console.log is done.
It is now possible to override the log destination, by calling osg.setConsole.