OC-11204 - Exception handling and abstraction

Reuse list_flavors from knife-cloud.

Depends on https://github.com/opscode/knife-cloud/pull/53