Merge pull request #962 from dgough/next

Updated the encoder to generate a material file (experimental)
Change release optimization level to 0 for gameplayf library due to bullet NEON.
Ensure all builds are using CDT Internal Builder for all build configurations.
Removes extra BlackBerry build configurations typically unused.
Fix warnings in TerrainSample.
Fixes for Windows support attachToWindow for QT support.
Merge branch 'next' of https://github.com/blackberry/GamePlay into next
Merge pull request #963 from seanpaultaylor/next

Next
Added the game resource path to LUA_PATH to fix Lua path resolution when searching for scripts on certain platforms.
Merge branch 'next' of https://github.com/blackberry/GamePlay into next
Merge pull request #964 from sgrenier/next

Fix to Lua path resolution.
Renamed FileSystem::dirname() to getDirectoryName
Merge branch 'next' of https://github.com/blackberry/GamePlay into next