Moved the metadata item creation into its own class to make it modular and testable
Moved hva_collector's instance hash shenanigans to the actual frightfully ugly to_hash method of the instance model class. That method also needs a serious refactoring but all in due time.
Renamed instance to instance_hash in the metadata type class to better reflect what it's expecting
Added a nil check for an instance's image's backup object in the Instance#to_hash method
Merge branch 'master' into extract-metadata-class
Merge pull request #397 from axsh/extract-metadata-class

Extract metadata class