Fix broken simulator build in master. Please patch next branch, too.
Merge pull request #853 from kwhatmough/master

Patch master with fix for broken simulator build. Please also patch next branch.
Fixes unsupported framebuffer issue with  qualcomm's android driver.

When DepthStencilTargets are created using GL_DEPTH24_STENCIL8_OES
the same render buffer has to be used as depth and stencil attachment.

It seems that other driver implementations are not as restrictive as
qualcomm's and allow different renderbuffers. On tested Qualcomm Adreno
200 and 320 android devices however this resulted in an unsupported
Framebuffer.

Issue is fixed by setting a flag whether or not the DepthStencilTarget
uses an packed format. This flag is considered when attaching renderbuffers.
Merge pull request #862 from WolfgangD/master

Fixes unsupported framebuffer issue with qualcomm's android driver.
Adds -O1 to Matrix.cpp in iOS project file

This remedies crashes in iOS release builds that seem to be caused by optimisations.
Merge pull request #873 from WolfgangD/master

Adds -O1 to Matrix.cpp in iOS project file
Merge pull request #9 from blackberry/master

Pull master