MDL-57139 core/fragment: simplify promises and always return
MDL-57139 core/fragment: simplify promises and always return

We can remove the DIY promise handling because the ajax request can just
return a promise itself.

dilawar/moodle