Added decoding and error correction on the NID fields: NAC and DUID.

Making use of the IT++ library for BCH encoding/decoding. IT++ is licensed as GPL v3.
Only tested this on Windows with MinGW.

For your consideration.