Fix FxCop errors when running CodeAnalysis on Debug builds.

- Remove unused locals in OData
- Remove redundant casting in EdmLibHelpers
- Add Suppression for Thread.Current Principal for unused local
- Use CultureInfo.InvariantCulture when writing out tracing for razor editor traces elapsed time values.