Fix tests in progress.
Use the clientBoundingRect of the container to set height and width.
Forgot handling of the canvas when calling X.renderer3D.init().
Get rid of X.renderer3D.container since the X.renderer3D.init method now supports a container as a parameter.

Also, fix all tests including WebGL detection.
Merge branch 'fixTests'