REFACTOR: Move javascript tests inside discourse app (PR #10798)

This is where they should be as far as Ember CLI is concerned. Note this is a huge commit and we should be really careful everything continues to work properly.


After a bunch of follow up commits I have all the linting working and tests passing in CI. This is ready for review!