Fix to release resources when terrain test exits.
Merge branch 'next' of https://github.com/blackberry/GamePlay into next
Merge pull request #760 from sgrenier/next

Fix to release resources when terrain test exits.