Merge pull request #1085 from seanpaultaylor/next

Moved the next branch up to now use Visual Studio 2012
fixed checkbox dirty state
Added support for stencil tests (enable/disable, write (mask), function, operation)
Merge pull request #1086 from reven86/next-clean

Fixed checkbox dirty state
Merge pull request #1087 from rcmaniac25/helpful-additions-stencil

Added support for stencil tests
Fixed bug where wrong RenderState variable was set for stencil write.
Added missing Lua bindings.
Merge branch 'next' of git://github.com/blackberry/GamePlay into helpful-additions-stencil
Merge pull request #1088 from rcmaniac25/helpful-additions-stencil

Stencil test bug fix and lua bindings
Read enabled property for controls from the form files.
Fixed iOS/Mac build.
Merge pull request #1092 from rgngl/xcodeProjectFix

Fixed iOS/Mac build.
Merge pull request #1091 from rgngl/enabledProperyControl

Read enabled property for controls from the form files.
Texture: Make the data buffer parameter in the initializer const.
Merge pull request #1099 from rgngl/textureInitializerFix

Texture: Make the data buffer parameter in the initializer const.
fixed Button state changing after click/press
Merge pull request #1103 from reven86/next-clean

fixed Button state changing after click/press
fixed potential(?) bug where temporary lua variables were left on the stack after calls to lua_len
fixed invalid sprite clipping
fixed TextBox caret image aspect ratio
Merge pull request #1106 from reven86/next-clean

Bugfixes