Fixed StyleCop and ReSharper warnings.
Updated all file header separators to make them consistent with other projects.