Reset version of nuspec to 0.0.0.
Address build setting

- Made test project follow ManagedMinimumRules of code analysis.
- Treated warnings as error on debug mode of product code.
Addressed unnecessary code analysis suppression.
Removed the unused using drective.
Improved the build script.
Made repositories.config not ignored.