Fixed raycasting with BufferGeometry

Raycasts now take BufferGeometry offsets into account.
Added a safeguard to check for the existence of color before adding them
to the intersected face.
Made a minor optimizations by moving a precondition out of the loop.
Pulled vector and array allocations out of loop.
Added lights, fixed camera parsing bug, transparency interpretation
Removed setting vertex color for faces.

Also condensed a couple vector lines.
Cleaned up code style.

Also switched plane creation method to take advantage of the existing
function setFromCoplanarPoints.
Removed invalid face from raycast.
Brief:Switching to domElement coordinates
BUGZID:
Summary:
This switches the "screen" variable to use the domElement's dimensions & location rather
than the window.

It also removes the "radius" variable in favor of using each dimension's value (ie
width & height)
Brief:Adding the option of disabling the "roll" outside of the trackball
Summary:
Merge branch 'trackball_fixes' of git://github.com/kevinoe/three.js into dev
TrackballControls support for this.domElement being document and some clean up.
Merge branch 'master' of git://github.com/tparisi/three.js into dev
Merge branch 'BufferGeometry---fix-raycast-to-take-offsets-into-account' of git://github.com/insominx/three.js into dev
WebGLRenderer3: Fixed hdpi support.
added outliner for multiple asset types

added editor class and few methods

removed uuid

Implemented more methods

editor refactoring

editor refactoring

editor api improvements

finished editor API

hooked up editor to UI as an argument
moved geometry regenerator to Editor class
Merge branch 'editor' of git://github.com/arodic/three.js into dev
Using RFC4122, version 4 for ids instead of incremental number.
Updated builds.
Update Plane.html
added custom UI classes for attributes
Replaced multiple attribute pannels with a single uber attribute panel

added lock to scale param