Move NT services code into its own C file. Probably will not build happily on win32 yet; more hacking needed. svn:r11388