fog/fog — pull request #610 by arvida (2011-11-14 10:17:19+00:00)
Title: [AWS] Fix S3 get acl mocks 

When mocking is enabled I noticed that ```get_object_acl``` and ```get_bucket_acl``` returns a XML string if the ACL had been set previously with ```set_object_acl```/```set_bucket_acl```. The real version of these get methods returns the ACL as a hash.

I have added a helper method for the mocks that parses the acl xml (using the AWS::AccessControlList parser) and returns a hash of if it, so the mock result is more similar to the real one. However this won't work when setting the acl with e-mail as aws resolves the email into a id (not really sure how to mock this..), so the tests for setting the acl with a email are still marked as pending.

Let me know what you think! =)