npd: mark more functions as static
libs: npd: move some structures and functions from NPD operation to NPD library

Move some structures and functions from NPD operation
to NPD library in order to offer their functionality
to other potentional GEGL based applications.
npd: access input and output buffers directly
operations: npd: remove mesh drawing functionality

It will be moved to GIMP NPD tool.