Support for big uploads to S3

Added support for uploads to S3 above 3Gb. 
Added an array of options to the createDir() method, do that (ie) we can send metadata settings when we create a dir in S3.