added linking of pthread to be able to compile on latest archlinux and latest gcc
Merge branch 'next' of https://github.com/blackberry/GamePlay into next

Conflicts:
	gameplay-samples/CMakeLists.txt
	gameplay-tests/CMakeLists.txt
Fixed copying recursive res files in new project cmake file
Merge branch 'next' of https://github.com/blackberry/GamePlay into next
Merge branch 'next' of https://github.com/blackberry/GamePlay into next
Fix broken simulator build in master. Please patch next branch, too.
Merge branch 'next' of https://github.com/blackberry/GamePlay into next
Initial Linux Gamepad support
Better Axis mapping struct
Added PS3 mappings
refactoring gamepad code
blacklisting virtual devices
Merge branch 'lin_gamepad' into next
removed unneeded header include
added const qualifier to MeshBatch::add vertices argument
added const qualifier on MeshBatch::add indices argument
Merge pull request #853 from kwhatmough/master

Patch master with fix for broken simulator build. Please also patch next branch.
Merge pull request #854 from kariem2k/next

Gamepad support for Linux
Fixed the Momentics project settings for the bb10 simulator
Merge pull request #858 from dgough/next

Fixed the Momentics project settings for the bb10 simulator