glance_manage: add Juno support

Instead of nesting a lot of try/except blocks, use the glance.version
module to know which glance version we're using, and import modules
accordingly.