refactor: treat StyleCop violations as warnings in Release builds

fixes #262
All this looks great. I can't reconcile StyleCop violations being warnings and TreatingWarningsAsErrors being true not equating to violations are still errors, but it works as intended. I'm getting warnings only for the extra violations I injected here. PASS!