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
Merge branch 'next' of git://github.com/blackberry/GamePlay into twoD-additions

Conflicts:
	gameplay/gameplay.vcxproj.filters