Replace upload/download endpoints with sync

A GET request to `sync.php` just returns the user's tasks (i.e. download), whereas a POST allows the inclusion of a current list to sync with the server, before returning the new list (upload + download).