added url_for() wrapper as Api.url_for(resource)