replaced print_cloud_init_log by more general function print_remote_file...

... + get_instance_by_group_and_status is renamed to get_instances_by_group_and_status and returns a list matching instances now
instances = [ i in i for self.get_instances() if i.state == state and i.tags['Name'] == app_identifier ]