php-tests: fixed to work with aws-sdk-php-2.3.x.

php tests failed with aws-sdk-php-2.2.x or later. so I changed bad codes about list objects and fixed the sdk version in composer.json.

related issue #540.