Add hostname_variable to ec2 inventory script

Use it to override the inventory name set for ec2 hosts with an ec2 variable.