Fix create_userrc.sh script
Fix create_userrc.sh script

Patchset fixes calculating EC2_URL/S3_URL for user rc files in 'accrc' directory.
Currently calculation of these url's uses 'openstack endpoint show' command
without specifying os-identity-v3 flag. But output is empty without such flag.
So this patchset uses same construction as exists in functions-common.

Change-Id: Ia4f2510750fa0f46e2f1d58cf0a7a16782f022b3

thomasem/devstack,ozamiatin/devstack,avvocatodemarchis/devstack,prithivm/branch01,Mahito/devstack,pombredanne/devstack,bswartz/devstack,avvocatodemarchis/devstack,pczerkas/devstack,openstack-dev/devstack,dtroyer/devstack,mc2014/devstack,olivierlemasle/devstack,atulpatil301/devstack,samgoon/devstack,costingalan/devstack,costingalan/devstack,nawawi/openstack,prithivm/branch01,bigswitch/devstack,mc2014/devstack,richliu/devstack,mssumanth/devstack,richliu/devstack,thomasem/devstack,openstack-dev/devstack,TwinkleChawla/devstack,ozamiatin/devstack,dirkmueller/devstack,varunarya10/devstack,nawawi/openstack,noironetworks/devstack,vsham20/devstack,group-policy/devstack,mssumanth/devstack,atulpatil301/devstack,parul24/devstack,bigswitch/devstack,bswartz/devstack,vsham20/devstack,noironetworks/devstack,dirkmueller/devstack,samgoon/devstack,Mahito/devstack,dtroyer/devstack,olivierlemasle/devstack,pombredanne/devstack,TwinkleChawla/devstack,parul24/devstack,pczerkas/devstack,group-policy/devstack,varunarya10/devstack