Bug 980851 - Move NFC emulator helpers to head.js. r=dlee

The functions |activateRE|, |notifyDiscoverRE|, and |setTagData| are
of general usefulness. They are now defined in the object |emulator|.
Callers have been adapted.
Bug 980851 - Add Marionette test case for receiving NDEF message on P2P mode. r=dlee

This patch adds a test for receiving an NDEF message in P2P mode. The
content of the message is known beforehand and validated against
the reference message.
Bug 1020866 - Add IEEE8021X to WPA-EAP config. r=vchang