Fix FxCop warnings and treat FxCop warnings as errors.
Set FxCop rules as errors.
Add unit tests for the Stats() method. Fix #707
Add HttpContext to the code analysis dictionary.
Uninstall Newtonsoft.Json package.