added url_for() wrapper as Api.url_for(resource) -- proposed fix for #79