Use Ajax call from delete account modal
The modal when deleting an account introduced by !14360 (merged) 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.