Use Ajax call from delete account modal

The modal when deleting an account introduced by gitlab-ce!14360 submits a form to trigger deletion which results in a full page reload. We should use an Ajax call instead. It requires changes in the RegistrationsController, too.

This is a follow up from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14360#note_42447995.

Assignee Loading
Time tracking Loading