Merge pull request #745 from sgrenier/next

Adds support for .r16 extension for RAW16 heightmap files
Allows range or 0 on spot and point lights.
Merge pull request #746 from seanpaultaylor/next

Allows range of 0 on spot and point lights.
Fixes leak detected for static memory used and not freed via DebugMem testing.
Merge pull request #747 from seanpaultaylor/next

Fixes leak detected for static memory used and not freed via DebugMem te...
Changed to FrameBuffer to finalize with SAFE_RELEASE since its extends Ref
Merge pull request #748 from seanpaultaylor/next

Changed to FrameBuffer to finalize with SAFE_RELEASE since its extends Ref
Changed to FrameBuffer to finalize with SAFE_RELEASE since its extends Ref
Changed to FrameBuffer to finalize with SAFE_RELEASE since its extends Ref
Merge pull request #749 from seanpaultaylor/next

Next
Added right mouse click as alternative kick on CharacterGame.
Cleaned up gamepad event handling on CharacterGame.
Merge pull request #750 from seanpaultaylor/next

Added right mouse click as alternative kick on CharacterGame.
Fixing compiling paths
Fix #744. Adds Lua and general fixes to the XCode template.
Merge pull request #753 from kwhatmough/next

Fix #744. Adds Lua and general fixes to the XCode template.
Merge pull request #752 from Joilnen/next

Fixing compiling paths
Fixes setVisible(false) for 2D controls without forcing all controls to be re-drawn.
Issue #751.  Layout::align() takes a control's margin into account.
This change also adds a bottom-right-aligned button with margins to the basic form controls test.
Merge branch 'next' of https://github.com/blackberry/GamePlay into next

Conflicts:
	gameplay/src/Form.cpp
Updated xcode projects to be defaulted to iOS 6