Added hammerjs v2 definitions and tests