This patch moves the addons-search-detection system add-on in tree and
adjusts the build configuration to make it a built-in add-on (which
requires changes in the `BrowserGlue.jsm` file).
Summary of the changes made to the different files:
- `api.js`: added license header, reformatted with Prettier, then fixed
ESLint errors: use of `Services.eTLD` instead of
`XPCOMUtils.defineLazyServiceGetter(...)` and defined
`"searchInitialized"` on `this` instead of `global` which was unknown
- `background.js`: added license header, reformatted with Prettier,
removed debug logs because they were off by default anyway, fixed
ESLint error: id => addonId because addonId was already defined in a
parent scope
- `manifest.json`: version number changed + `hidden: true`
- `schema.json`: no change await addon.enable();
Depends on D129019
Differential Revision: https://phabricator.services.mozilla.com/D128908