Updated upload method in Rest.php to use put.

Sugar's documentation says to use put for uploading of files and to set the body with the file.
Removed the comment that says not working on upload function.
Merge pull request #11 from nickescobedo/fix-upload-function

Fixed upload method