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

I didn't know that arrow functions are supported in gaia. Cool, I will update the patch, wait for tests and then ask for checkin.