Adapting to method to function changes in bindings

- Adapts to the check_resource and get_resource_id functions that
  substitute the corresponding BigML methods