Remove duplicated authentication code in AWS drivers and refactor common
functionality into a new class.

Part of LIBCLOUD-169.


git-svn-id: https://svn.apache.org/repos/asf/libcloud/trunk@1432038 13f79535-47bb-0310-9956-ffa450edef68