Removed incorrect "un-premultiplication" in BasicDiffuseMethod. Fixes #221

"Un-premultiplying" fragments in the shader may lead to division by zero, which
is undefined behavior and handled differently on different chipsets. This fix
removes the offending line from the shader and replaces it with a correct blend
factor configuration.
Improved the way alphaPremultiplied and blendMode works together.

Previously setting blendMode after alphaPremultiplied would overwrite the blend
factors, effectively disabling the impact of the alphaPremultiplied property,
and vice versa. This fix adds an updateBlendFactors() function that is called
whenever alphaPremultiplied or blendMode is invoked. It is called instantly,
instead of invalidating the values, since the function is so cheap and contains
code that will throw an error on incorrect blend modes, which is something that
should happen when the property is set.
Removed bind-shape matrix. Closes #188
Added missing event meta data. Closes #174
Added forceSoftware parameter to View3D constructor.

This parameter allows to force the request of a Context3D instance in Software rendering mode.

Conflicts:

	src/away3d/core/managers/Stage3DManager.as
Explode fix on const
Fixed issue with primitive validation. Fixes #257

Previously the Geometry class was never accessed in the render loop, since
the sub-geometries are accessed via their sub-meshes instead. This meant that
the PrimitiveBase (geometry sub-class) was never given a chance to validate
it's geometry.

This fix introduces a validate() method on Geometry which is invoked by the
subMeshes getter on Mesh. This makes sure that primitive is given a chance
to validate and potentially change the number of sub-geometries, and in turn
the sub-meshes, before they are returned.

This means that changing properties on primitives now correctly triggers a
geometry update at the next render.
Merge branch 'release' of github.com:away3d/away3d-core-fp11 into release
FaceHelper fixes
Fixed issue with applying transformations to primitives before construction.
Fixes #263 StageProxy update.
Merge branch 'release' of github.com:away3d/away3d-core-fp11 into release
Fixed issue with calculating bounds for some Geometry instances. Fixes #273

Since the calculation in fromGeometry() used +/- Infinity as starting points
and an if/else assuming that the same vertex could not define opposite bounds
(e.g. left AND right) it would break when the first vertex was indeed an
extreme. This fix starts with assuming the first vertex defines the extremes
on all axes and then uses that when comparing the other vertex positions.
Removed unneccessary if block.

Left over from before cb8fafab6fe1c91e1e654c6582aec73e738867ae and obsoleted
by that changeset.
fix the alphaMask be null when rendering depth map for shadow. Closes #274
Added (optional) length property to ParserUtil.toString().

This greatly simplifies reading magic strings in parsers' supportsData().
Simplified AWD2Parser.supportsData() using improved ParserUtil.toString()
Implemented MD2Parser.supportsData() to allow parsing embedded MD2 files.
Now correctly finalizing meshes in MD2Parser. Fixes #48
MD2Parser will now properly dispatch events for animation sequences. Fixes #192