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
Gametel and SteelSeries Free support for Mac

Adds controller mappings for a couple Bluetooth gamepads.
Merge remote-tracking branch 'upstream/next' into next
Merge pull request #851 from dgough/next

Added a lua function "convert" to convert a userdata value to another gameplay class type
Merge pull request #852 from ablake/next

More Mac gamepads
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 "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.