Removed extra debug statements, fixed setConfig API ,
Simplified sanity checks on SessionID in Nfc.js.