Bug 1037337 - [NFC] NfcManager cleanup, add jsdoc, add missing unit tests etc.