Merge pull request #38 from codebendercc/dev_27

Merge dev_27 to dev
Simplified doflash function: Added function resetLeonardo().
Simplified doflash function: Added function LeonardoSketchControl().
Simplified doflash function: Added function createCommand().
Updated the time which has gone by before uploading using the port in which Leonardo board was connected for Linux and MAC OS.
Updated port that we were searching in LeonardoSketchControl(); now we wait until the bootloader serial port disconnects and the sketch serial port reconnects or time passes and never reconnects (timeout).
Simplified doflash function: Added function createCommand().
Added function availablePorts() which detects system's available ports in Linux, Windows and MAC OS.
Updated functions resetLeonardo() and LeonardoSketchControl(); instead of calling probeUSB() they call availablePorts() function.
Modified access to the process object in OpenProcess funcion in order to kill avrdude in Windows XP when process times out.
Added return in winKillAvrdude() function if OpenProcess() fails.
Reformatted winKillAvrdude() function code.
Added function GetLastError in SetCommState function of win.cc in order to receive errror code when function fails.
Updated plugin version to 1.6.0.7
Reformatted CodebenderccInstaller.wxs
Updated version to 1.6.0.7
Merge pull request #39 from codebendercc/UpdatedDoflash

Plugin version 1.6.0.7