DEV: Arrange theme QUnit dependencies in the right order (PR #12907)

We also need to split jquery.debug and ember.debug into a separate module and load it before vendor.js for things to work with the new order.

GitHub