Merge pull request #17 from codebendercc/dev

Merge dev branch to master (version 1.6.0.2)
Merge pull request #22 from codebendercc/dev

Merge Dev to Master branch
Fixed stat error: added control if file exists before get filesize.
Fixed CodebenderccAPI::fwrite to create an empty file in case hexContent doesn't exist.
Return the correct value on process termination on Windows.
Added control if avrdude is in use by another thread in functions doflash, doflashWithProgrammer, flashBootloader.
Merge branch 'bug-fixing' of github.com:codebendercc/npapiPlugins into bug-fixing
Fixed return value on Windows new process creation failure
Set timeout to 20 sec on Unix avrdude execution
Added serial port buffer flushing functionality
Replaced perror with error_notify
Fixed flushing functionality.
Updated plugin version to 1.6.0.4
Merge pull request #24 from codebendercc/release-branch

Release branch