add CookbookResource.versions function for listing all cookbook versions