added FileAPI
FileAPI updated
added resumable upload
added resumable upload
fixed chunked upload
fixed chunked upload
added support for 500 and 416 resumable error codes
fixed retry counter reset on a success chunk
merged changes from production branch