Use tor_api.h entry points for ntmain.c
ntmain.c currently launches tor by calling several functions in main.c directly, but this has led to the two getting out of sync. (See legacy/trac#32778 (moved) for one example.)
Instead, ntmain.c should use the functions in tor_api.h to launch Tor.