Fixed texture uniform in cloth example.

Fixes #2683
Merge remote-tracking branch 'remotes/benaadams/patch-3' into dev
Whitespace cleanup in manual mipmaps example.

See #2681
Simplified manual mipmaps example.
Added manual mipmaps handling also to DataTexture.

Warning: this doesn't work with RGB textures (3 bytes per pixel) because of default 4 byte alignment requirement deeper in WebGL / OpenGL layer. Uploading smaller mipmap levels gets these GL errors:

"ArrayBufferView not big enough for request with UNPACK_ALIGNMENT > 1"

It works ok with RGBA textures (4 bytes per pixel). Seems this could also explain why 1 pixel RGB DataTextures were failing sometimes.
Added texture.unpackAlignment parameter.

This is needed for handling manually created non-power-of-2 or small RGB DataTextures.

It corresponds to GL_UNPACK_ALIGNMENT parameter in glPixelStorei:

http://www.khronos.org/opengles/sdk/docs/man/xhtml/glPixelStorei.xml
Refactored texture cloning.

Before base class attributes that weren't in the constructors were not cloned properly in derived classes.
Simplified mipmaps a bit more and returning copy of array when cloning.
Merge remote-tracking branch 'zz85/docs' into dev
Added deferred shading example with morph animation.

Started with extraction of deferred shading code snippets into more reusable components.
Refactored deferred pointlights example to use common code with deferred morphs example.

Specular parameters will eventually need to go into G-buffer.
Renamed renderer.shadowMapCullFrontFaces => renderer.shadowMaterialSide

Default value is THREE.BackSide (use backfaces of objects when rendering depth map), other valid value is THREE.FrontSide (use frontfaces of objects when rendering depth map).

See discussion in #2683
Simplified bumpmap shader for deferred normal pass.
Renamed renderer.shadowMaterialSide => renderer.shadowMapCullFace

Default value THREE.CullFaceFront, other valid value THREE.CullFaceBack.

These constants also go into renderer.setFaceCulling( cullFace, frontFace ) where they replace strings:

"back"  => THREE.CullFaceBack
"front" => THREE.CullFaceFront
"frontback"    => THREE.CullFaceFrontBack
""/0/undefined => THREE.CullFaceNone

See discussion in #2683
Added frontface direction constants.

These replace frontFaceDirection parameter strings in renderer.setFaceCulling( cullFace, frontFaceDirection ):

"cw"  => THREE.FrontFaceDirectionCW
"ccw" => THREE.FrontFaceDirectionCCW

See related cullFace constants changes in #2683
[docs] Possible fix for navigation. See #2594. Changes URL delimiter to #
[docs] Another approach to fixing navigation bug.

This creates URL hashes of this form docs/index.html#Reference/Extras.Renderers.Effects/AnaglyphEffect instead of docs/index.html#Reference#Extras_/_Renderers_/_Effects#AnaglyphEffect
Replaced basic shader with custom shader in deferred shading.

This is in anticipation of combining more geometry passes, need modifiable shader.
Removed unused properties from test_scene.js.
Added style strings support THREE.Color.

So far these work:
new THREE.Color( 'rgb(255,0,0)' );
new THREE.Color( 'purple' );
new THREE.Color( 0xff0000 );