Document a stable tor main function

For the usage in the mobile context it's useful to have a documented tor main function to call to start it and exposed as C headers.