Issue LIBCLOUD-477: Add extra utility function into ec2 driver

Signed-off-by: Tomaz Muraus <tomaz@apache.org>
Update docstring.
cast_func -> transform_func.
Merge pull request #16 from apache/trunk

Synchronizing fork