[PATCH v4 02/21] libnd, nfit: initial libnd infrastructure and NFIT support