Run StyleCop on the smaller projects.

Also add a copy of the rules to the CrashDialog and Irc projects.
Merge pull request #5721 from RoosterDragon/stylecop-small-projects

Run StyleCop on the smaller projects.