Fixed OpenStack to work with Grizzly and later OpenStack releases 

This patch adds a check for which python-glanceclient version is installed.  The compatibility with the old version remains.