adds if branch to handle base64 sObject fields

Handling for blobs.  Lets you do create/update/etc on sobjects that are files (for example, Attachment).

This version assumes the data is encoded as DataURL, generally generated thusly:

reader.readAsDataURL(elem.files[0]);

where elem is the file input.

Be sure to also send up the filename so that salesforce can figure out what type it is by the extension, or set it using the ContentType field based on your app.