Add timeout and num_retries parameters in get_instance_userdata

When retrieving customized data from the userdata service,
it is possible to add two parameters: one to specify the
number of seconds before timing out the request, the other
specifies the number of attempts to make to the userdata
service.