Added trace output, other changes

1. Changed method prttxt of NDTUtils class.
2. Changed methods of UserAgentTools class.
3. Reorganized NDTConstants class.
4. Changed hostname in Main.as