Fix the functional tests, so that they can run out of visual studio and be easily debugged. This changeset includes:
1. when debug in visual studio, bypass the check for the environmental variable of RunFunctionalTests
2. fix the broken app.config file
3. include nuget.exe to the solution to help with debugging, as some tests requires its presence