Merge branch 'origin/release-4.0'
Merge branch 'origin/release-2.2'

Conflicts:
	apps/CMakeLists.txt
	src/kinematics/ShapeMesh.cpp
	unittests/CMakeLists.txt
Add Newton's cradle app (need more work)
Set default restitution coefficient for BodyNode to 0
Fix incorrect use of macro in ContactConstraint.cpp
Decrease default maximum error reduction velocity from 1e+1 to 1e-3
Add Newton's cradle app (need more work) (reverted from commit 383acb507c47dd4d371d2a9a20d3976dcb2fcccf)
Fix bug in updating transmitting wrench at BodyNode::updateConstrainedTransmittedForce()
Declare conflict on libdart-core3-dev
Merge pull request #203 from j-rivero/release-4.0

Thanks, Jose!
Remove unnecessary header inclusion in BodyNode.h

This resolve compiler error when DART failed to find any installed optimization library.
Merge branch 'release-4.0'
Use Sleep() on Windows instead of usleep()
Set _VARIADIC_MAX as 10 for VS11 + std::tuple compile
Merge pull request #204 from dartsim/vs2012_std_tuple_issue

Fix issue on compiling googletest with Visual Studo 2012 (VS11)
Merge remote-tracking branch 'origin/release-4.0'
Enables all the warnings on gcc
Fixing gcc warnings
Fix gcc warnings
Merge pull request #206 from dartsim/gcc_warnings

Fix gcc warnings