Code Style fixes for modules. Closes #4237.
Activates codestyle checks for modules folder.