Add the ndb library

Needed for some other tools, and it was easy.
TODO: fix the code that checks file changed.
grep dirfstat to see what I mean.

I am leaving in the .cocci files and scripts one more time;
we can yank them sooneror later.

Signed-off-by: Ronald G. Minnich <rminnich@google.com>