Bug 963556: Update NFC Manager, Handover to use new shared nfc_utils.js.

This refactor bug creates a basic subset of broadly useful functions that applications (including the system app's NFC Manager) can use to manipulate NDEF data. More functions may be added later to support different NFC technology types.

Includes unit tests for the library.