<NME> test-loader.js
<BEF> ADDFILE
<MSG> test-loader: Move `TestLoader` class into `addon-test-support`

... and remove the old `ember-cli/test-loader` fallback

<DFF> @@ -0,0 +1,32 @@
+import { describe, it } from 'mocha';
+import AbstractTestLoader, {
+  addModuleIncludeMatcher,
+} from 'ember-cli-test-loader/test-support/index';
+
+addModuleIncludeMatcher(function(moduleName) {
+  return moduleName.match(/\.jshint$/);
+});
+
+export class TestLoader extends AbstractTestLoader {
+  shouldLoadModule(moduleName) {
+    return moduleName.match(/[-_]test$/) || moduleName.match(/\.jshint$/);
+  }
+
+  moduleLoadFailure(moduleName, error) {
+    describe('TestLoader Failures', function() {
+      it(moduleName + ': could not be loaded', function() {
+        throw error;
+      });
+    });
+  }
+}
+
+/**
+ * Load tests following the default patterns:
+ *
+ * - The module name ends with `-test` or `_test`
+ * - The module name ends with `.jshint`
+ */
+export function loadTests() {
+  new TestLoader().loadModules();
+}

test-loader: Move `TestLoader` class into `addon-test-support`