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
Added "loopBlendTime" property for animation clips to support interpolating between the end points of an animation clip when looping. This allows clips to animate smoother when the end points of a clip do not exactly match up (which is all too common with animated character content).

A new overloaded version of Curve::evaluate was also added to support this feature.

gameplay-encoder binary was updated for windows, but still needs to be updated for mac and linux.
Merge branch 'next' of https://github.com/blackberry/GamePlay into next
Changed Game::exit() to only perform a full shutdown when either FORCE_CLEAN_SHUTDOWN or GAMEPLAY_MEM_LEAK_DETECTION are defined. By default now (when these are not defined), it simply calls cstdlib ::exit(0), which causes immediate termination of the application. This was done to avoid extremely long shutdown times when trying to do cleanly delete every last pointer in the system, especially for large games. Any modern OS handles reclamation of memory, so there should be no adverse side effects.
Merge pull request #856 from sgrenier/next

Added support for smoothing endpoints of animation clips