added public? and acl method to s3 file and minor refactoring
adding tests for aws file acl and public? method
Merge pull request #3173 from ncri/master

added public? and acl method to s3 file and minor refactoring