Exception for cms code rules 5 (pragma checking) added for various files...

Requested by Giulio: 
  Exception for cms code rules 5 (pragma statement checking) added for various files. Having pragmas for visibility hidden / public is a legal optimization and allowed.