Changed ScriptController::loadScript() to use dofile instead of dostring.
- This will give more informative error messages that will tell you the file and line number the error occurred at.
- However, Android will still use dostring because dofile does not work on files in the resource APK.
Merge pull request #922 from dgough/next

Changed ScriptController::loadScript() to use dofile instead of dostring
Merge branch 'next' of https://github.com/blackberry/GamePlay into feature
Added FileSystem::dirname()
dirname() returns the directory name of the given path.
Fixed warning in TerrainTest
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".