Added and S3 upload class and base64 functions to NSData.