Bug 1039245 - [NFC] Move NDEF record payload parsing from NfcManager and expose it to app developers, r=gweng

While I have see no `@param` or `@see` to indicate what structure the `payload` should be, suddenly an array referencing and a bitwise operation make this code hard to understand.