Added -m to the encoder to allow exporting materials from FBX scenes
This is the initial check-in for the material exporting feature. (Currently incomplete)
Added FileSystem::dirname()

dirname() returns the directory name of the given path.
Changed Properties so that files can be loaded relative to the property file.

File paths in property files can now be relative to the working directory or the property file.
In the mesh sample, this means the texture path in the material file can be "res/duck-diffuse.png" or "duck-diffuse.png".
Merge branch 'next' of https://github.com/blackberry/GamePlay into next
Merge pull request #958 from sgrenier/next

Exposed game command-line arguments to Lua script.
Merge pull request #959 from sgrenier/next

Fixed possible issue with script event lists being indexed out of range.
Make newproject.sh executable
Merge pull request #960 from Kernald/fix-newproject-permissions

Make newproject.sh executable
Merge branch 'next' of https://github.com/blackberry/GamePlay into next
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