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