rewrite restart_nscd to use 'service nscd restart' as this will clean up

/var/lock/subsys/nscd. Do the cleanup between stop/start as a fallback.

Applied @dvandok's fix and @msmark's comment. Will merge if Jenkins tests pass.