Fix misprint in disconnect function

Just replace connect with disconnect function in Controller.prototype.disconnect.
Edits
Adding semi-automatic doc generation
added jsdoc config file
fix doc generation
Merge pull request #34 from Hyzhak/patch-3

Fix misprint in disconnect function
Connection events

Connection and Controller now fire 'connect' and 'disconnect' events so that the developer is able to better handle this stuff.
minor test naming fix
Change example index to absolute paths as relative paths were broken
Merge pull request #37 from logotype/master

Added gestures to toString and Frame dump
Merge pull request #39 from catdevnull/master

Change Examples Index to Absolute Paths
Merge pull request #38 from saschagehlich/feature/controller_events

Connection events
untangle common connection setup
simple socket setup, make testing simpler
working reconnection logic
Merge pull request #43 from leapmotion/cleanup_connection

Cleanup connection
regenerate leap.js
sylistic improvements
travis support
travis support