Update Gesture.java

The Gesture class needs to return an instance of itself exposed in the API.
Merge pull request #7 from CraigAndrew/patch-1

Update Gesture.java