Use the common function auth_uri_transform

Auth uri transform logic has been moved to the common cookbook, so in
the image cookbook, the common fuction is used to transform the logic.
Another option auth_version is added to template.

Change-Id: If0fdf86c48f5b4860d8b488dd7ee16ca199e1536
Imlements: blueprint move-keystone-authtoken-move-auth-uri-logic