Move api.y.org stuff to functions-http.php

I didn't like having functions-update.php and functions-upgrade.php, made no sense.
Plus, it's all about HTTP requests.