Bug 1111488 - refactor _handleTechDiscovered in nfc_manager.js. r=alive

You should have a test to test 'checkP2Pregistration' is called when peer is not null.

```js
sampleMsg.peer = MockNFC.peer;
assert.isTrue(nfcManager.checkP2PRegistration.called);
```