Feature/sh glance plugin

This is a version of this pull request:

https://github.com/aeolusproject/imagefactory/pull/182

Merged against the current upstream.