Updated stylecop settings file and fixed stylecop violations.