[NFC] NfcManager.handleNdefDiscovered test cases needed, possible refactoring, r=gweng

You can use `bind` or fat arrow function to bind `this` in the callback, instead of overwrite the `self`:

    a.onerror = () => {
        this._debug...
    }