Added glance cache

Didn't do a very good job keeping the patch set to just glance-cache.
Merge pull request #4 from retr0h/retr0h/glance-cache

Added glance cache