Backport/facter 2/fact 185 ec2 metadata

This backports the changes in the master branch for EC2 facts and updates them to return both structured and flattened ec2 metadata facts.