- added environment (node/module/browser) detector :
 * updated deps
 * updated code to match
 * updated specs to load THREE.js first , and moved three to dev dependencies