port amazon s3 file app to aws2

before running, you need to put 'aws.phar' into the 3rdparty dir.

Tested basic functionality (create/delete file, create/delete dir, open directories)