Bug 963556: Create shared library for NFC

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.