Moved StyleCop settings. Fixed a few StyleCop violations.