nsd-service: add service module for nsd

This patch just adds the NSD service module. The patch was part of the (closed) pull request #2240 and split into two parts as requested.