Fixed problem with the parser of the value of the parameter -i.
Merge pull request #68 from senthilmanick/master

Fixed the hang when the device is locked.

When the device is locked, we get empty packets in the server.
Now fixed by closing both the lldb and server sockets.
Also after safequit, we need to detach to make the "justlaunch" option to be less error prone.

Multiple bug fixes: 
1. When multiple devices are connected, the detect was not listing all the devices ios-deploy -c -t 1
2. Fixes for issue #75 - non-interactive mode broken lldb and ios-deploy may still be running ios-deploy -b ... -d -I -L
3. Fixes for issue #60 - -L option not working properly ios-deploy will not quit or sometimes hang
4. When multiple devices are connected, cannot use -i option to specify the device ios-deploy -b ... -i -d -I -L
5. Allow timeout when downloading
Merge pull request #72 from CSOscarTanner/master

Fixed problem with the parser of the value of the parameter -i.
Fixes phonegap/ios-deploy#37 - AMDeviceValidatePairing fails when uninstalling
Fixes phonegap/ios-deploy#74 - SIGSEGV-ed while listing the sandbox of an application on iOS8
Update package.json version to 1.3.0
Removed unused gdbargs and gdbexec options.
Update README. Removed gdbargs, gdbexec. Added download.
Fixes phonegap/ios-deploy#79 - Update README.md for sample usage of ios-deploy flags and options
Fixes phonegap/ios-deploy#80 --detect not showing non-zero exit code when no devices are detected.
Updated version to 1.3.1
Fixes phonegap/ios-deploy#80 (re-fix) --detect not showing non-zero exit code when no devices are detected.

When --detect is turned on, --debug is turned on implicitly so you won't get a segmentation fault.
Merge pull request #2 from phonegap/master

Pull from phonegap