Fix OpenStack plugin for v7 changes, add tests

OpenStack plugin was not correctly resolving constants set in ec2 mixin
because of block scoping issues when defining classes with blocks.
Reference constants by full namespace to resolve it.

Also add unit tests based on data gathered from this plugin on ohai
6.20.0