Update to avoid file uploads problems

The fact to use CURL arguments in a GET way generates issues when using
set_note_attachment method with binary files
Merge pull request #19 from samy-r/master

Update to avoid file uploads problems