HTML5: Cross-site HTTP requests with credentials; Flash: check result of getFile() in UploadProgress event

Hello!

Proposed changes:
* HTML5: Cross-site HTTP requests with credentials: https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS#Requests_with_credentials
* Flash: Check, if object, returned by getFile() in UploadProcess event, is not undefined

Best regards,
Max.