StyleCop warnings are treated as errors in Release builds only

Closes #126