Prevented looking up incorrect object handles.

Previously, dAtoi would be called on arbitrary strings delimited
only by the / character. Now, Sim::findObject actually checks that
object handles (strings starting with a digit) actually only contain
digits or slashes.
Case-sensitive fixes on template script files for Linux.
Changes to GLSL files for OpenGL
Fix WaterObject TODO: Retrieve sampler numbers from parameter handles, see r22631.
Fix ScatterSkyVertex::color declaration.
Add RenderPassData::mSamplerNames for OpenGL code. Not used on DX9.
Update GLSL Shadergen. Not used on DX9.
Add GFXShader::init with support for ordered vector of sampler names for shader.
Commit to add "Coverage" option to procedural terrain generator

This commit adds a "Coverage" option to the procedural terrain
generator. Allows mixing of textures. See
http://www.garagegames.com/community/blogs/view/22371 for more info.
This version has many improvements - coverage is now entered as a
percentage, accepts decimals, and doesn't have any bugs as far as I
know.
Fix: preload() method on datablocks should always set errorStr when returning false.

Otherwise it will dump the previous error message (content of the errorStr).
Fix FixedSizeVector() initialization.

mArray[6] was never assigned (ownerless experssion).
Corrected the use of #pragma warning()

We should use #pragma warning(push/pop) instead of (default: X)
Fix: the string literal is implicitly casted to the bool type.
Fix: Some compilers do not auto-cast String and Path classes to (char *).
Fix: Underflow of the buffer 'ctx'.

memset function should not receive sizeof of the pointer.
Fix wrong check for bits (using '&&' instead of '&').
Fix: dSprintf should receive size of the buffer, not the size of the pointer.

It was safe, as we are using static console return buffer,
which is large enough to hold enough data (default is 2048).
Fix: Added missing virtual destructors for classes with virtual functions.
Fix: removed 'virtual' for classes which doesn't have child.
Renamed local variable so it doesn't interfere with the provided argument.

String errorStr should be filled in only when ::preload returns false.